summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-08-10 12:00:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-08-10 12:13:30 +0100
commit52be3fcbd960238b717a6487f0e19156825c8159 (patch)
tree19ed7d757b6690ccb82d31aeec30d01d5886409a /sfx2
parenteab0ae6a51667962dff04a0f1ed2b8411a344462 (diff)
cppcheck: badBitmaskCheck
Change-Id: I0a6787379317e5077c5a4520e5144fe091a01538
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/tabdlg.cxx6
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;
}