From d14b92ef8984ae654ff187bf6c8f5946d3ba218d Mon Sep 17 00:00:00 2001 From: mickeyl Date: Mon, 24 Feb 2003 21:37:49 +0000 Subject: - work around yet another g++ 2.x bug - started work on saving session to xml [ any classes from libopie I can reuse without too much effort? ] --- (limited to 'noncore/net/wellenreiter/cornucopia') diff --git a/noncore/net/wellenreiter/cornucopia/olistview.cpp b/noncore/net/wellenreiter/cornucopia/olistview.cpp index bca17b2..8bc59de 100644 --- a/noncore/net/wellenreiter/cornucopia/olistview.cpp +++ b/noncore/net/wellenreiter/cornucopia/olistview.cpp @@ -202,10 +202,10 @@ bool OListViewItem::isAlternate() // check if the item above is an OListViewItem OListViewItem *above = static_cast( itemAbove() ); - /*if (not itemAbove()->inherits( "OListViewItem" )) return false;*/ + /*if (! itemAbove()->inherits( "OListViewItem" )) return false;*/ // check if we have a valid alternate background color - if (not (lv && lv->alternateBackground().isValid())) return false; + if (!(lv && lv->alternateBackground().isValid())) return false; m_known = above ? above->m_known : true; if (m_known) @@ -221,7 +221,7 @@ bool OListViewItem::isAlternate() item = static_cast(parent()); if ( item /*&& item->inherits( "OListViewItem" )*/ ) previous = item->m_odd; item = static_cast(parent()->firstChild()); - /* if !( item.inherits( "OListViewItem" ) item = 0; */ + /* if ( !item.inherits( "OListViewItem" ) item = 0; */ } else { @@ -233,7 +233,7 @@ bool OListViewItem::isAlternate() item->m_odd = previous = !previous; item->m_known = true; item = static_cast(item->nextSibling()); - /* if !(item.inherits( "OListViewItem" ) ) break; */ + /* if (!item.inherits( "OListViewItem" ) ) break; */ } } return m_odd; -- cgit v0.9.0.2