summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-05-07 12:31:45 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-05-07 12:31:45 +0200
commit3703e3985e0aa9325cf9256a78bab6e62a24ede4 (patch)
tree293e3b233976ac114848f81c003031362e255096 /sw
parentc59fce8b51dfdd901da2a5902702271914f1e6bb (diff)
loplugin:implicitboolconversion
Change-Id: I0dacaa9fb08062aba758613bd25ebcf7039f36e0
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/layout/atrfrm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/atrfrm.cxx b/sw/source/core/layout/atrfrm.cxx
index 558ddbd30d73..4b38b4f7f06e 100644
--- a/sw/source/core/layout/atrfrm.cxx
+++ b/sw/source/core/layout/atrfrm.cxx
@@ -560,7 +560,7 @@ void SwFmtCntnt::SetNewCntntIdx( const SwNodeIndex *pIdx )
bool SwFmtCntnt::operator==( const SfxPoolItem& rAttr ) const
{
OSL_ENSURE( SfxPoolItem::operator==( rAttr ), "keine gleichen Attribute" );
- if( (bool)pStartNode ^ (bool)((SwFmtCntnt&)rAttr).pStartNode )
+ if( (bool)pStartNode != (bool)((SwFmtCntnt&)rAttr).pStartNode )
return false;
if( pStartNode )
return ( *pStartNode == *((SwFmtCntnt&)rAttr).GetCntntIdx() );