diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-27 15:29:17 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-27 15:31:02 +0200 |
commit | 61e5ba62f5f4a275d26eb7e36fa9e885774ad0cb (patch) | |
tree | b4768d4b7bec9c6806d91489f74f42ef52989341 | |
parent | 79faad753fab8db49582c55ef0082588ae2521a0 (diff) |
More loplugin:simplifybool
Change-Id: I8dce5186e3b95082fe5c282493424534d469cd51
-rw-r--r-- | svx/source/form/datanavi.cxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdoashp.cxx | 6 | ||||
-rw-r--r-- | svx/source/svdraw/svdpoev.cxx | 2 | ||||
-rw-r--r-- | svx/source/unodraw/unoshtxt.cxx | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/form/datanavi.cxx b/svx/source/form/datanavi.cxx index 381fc843cb9d..6c63be19590a 100644 --- a/svx/source/form/datanavi.cxx +++ b/svx/source/form/datanavi.cxx @@ -1268,7 +1268,7 @@ namespace svxform if ( pNode && ( pNode->m_xNode.is() || pNode->m_xPropSet.is() ) ) { bEnableEdit = true; - bEnableRemove = ( bSubmitChild != true ); + bEnableRemove = !bSubmitChild; if ( DGTInstance == m_eGroup && !m_pItemList->GetParent( pEntry ) ) bEnableRemove = false; if ( pNode->m_xNode.is() ) diff --git a/svx/source/svdraw/svdoashp.cxx b/svx/source/svdraw/svdoashp.cxx index 9b06946d7156..5080b71d2bb2 100644 --- a/svx/source/svdraw/svdoashp.cxx +++ b/svx/source/svdraw/svdoashp.cxx @@ -492,7 +492,7 @@ bool SdrObjCustomShape::UseNoFillStyle() const const Any* pAny = rGeometryItem.GetPropertyValueByName( sType ); if ( pAny ) *pAny >>= sShapeType; - bRet = IsCustomShapeFilledByDefault( EnhancedCustomShapeTypeNames::Get( sType ) ) == false; + bRet = !IsCustomShapeFilledByDefault( EnhancedCustomShapeTypeNames::Get( sType ) ); return bRet; } @@ -1588,12 +1588,12 @@ void SdrObjCustomShape::NbcResize( const Point& rRef, const Fraction& rxFact, co if ( ( ( xFact.GetNumerator() < 0 ) && ( xFact.GetDenominator() > 0 ) ) || ( ( xFact.GetNumerator() > 0 ) && ( xFact.GetDenominator() < 0 ) ) ) { - SetMirroredX( IsMirroredX() == false ); + SetMirroredX( !IsMirroredX() ); } if ( ( ( yFact.GetNumerator() < 0 ) && ( yFact.GetDenominator() > 0 ) ) || ( ( yFact.GetNumerator() > 0 ) && ( yFact.GetDenominator() < 0 ) ) ) { - SetMirroredY( IsMirroredY() == false ); + SetMirroredY( !IsMirroredY() ); } } diff --git a/svx/source/svdraw/svdpoev.cxx b/svx/source/svdraw/svdpoev.cxx index aa6aaf42c128..9d559ff5af4f 100644 --- a/svx/source/svdraw/svdpoev.cxx +++ b/svx/source/svdraw/svdpoev.cxx @@ -391,7 +391,7 @@ void SdrPolyEditView::RipUpAtMarkedPoints() if(nNewPt0Idx) { // correction necessary? - DBG_ASSERT(bKorregFlag==false,"Multiple index corrections at SdrPolyEditView::RipUp()."); + DBG_ASSERT(!bKorregFlag,"Multiple index corrections at SdrPolyEditView::RipUp()."); if(!bKorregFlag) { bKorregFlag = true; diff --git a/svx/source/unodraw/unoshtxt.cxx b/svx/source/unodraw/unoshtxt.cxx index 1850e1d394f3..c87bdc10d943 100644 --- a/svx/source/unodraw/unoshtxt.cxx +++ b/svx/source/unodraw/unoshtxt.cxx @@ -237,7 +237,7 @@ SvxTextEditSourceImpl::SvxTextEditSourceImpl( SdrObject& rObject, SdrText* pText SvxTextEditSourceImpl::~SvxTextEditSourceImpl() { - DBG_ASSERT( mbIsLocked == false, "text edit source was not unlocked before dispose!" ); + DBG_ASSERT( !mbIsLocked, "text edit source was not unlocked before dispose!" ); if( mpObject ) mpObject->RemoveObjectUser( *this ); |