diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-08-10 12:00:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-08-10 12:13:30 +0100 |
commit | 52be3fcbd960238b717a6487f0e19156825c8159 (patch) | |
tree | 19ed7d757b6690ccb82d31aeec30d01d5886409a /sfx2 | |
parent | eab0ae6a51667962dff04a0f1ed2b8411a344462 (diff) |
cppcheck: badBitmaskCheck
Change-Id: I0a6787379317e5077c5a4520e5144fe091a01538
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/tabdlg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx index 9435f9a0085d..2b7111646b32 100644 --- a/sfx2/source/dialog/tabdlg.cxx +++ b/sfx2/source/dialog/tabdlg.cxx @@ -843,7 +843,7 @@ short SfxTabDialog::Ok() if ( pTabPage->FillItemSet( &aTmp ) ) { - bModified |= true; + bModified = true; if (pExampleSet) pExampleSet->Put( aTmp ); pOutSet->Put( aTmp ); @@ -853,10 +853,10 @@ short SfxTabDialog::Ok() } if ( pImpl->bModified || ( pOutSet && pOutSet->Count() > 0 ) ) - bModified |= true; + bModified = true; if (bStandardPushed) - bModified |= true; + bModified = true; return bModified ? RET_OK : RET_CANCEL; } |