summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/browserline.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/propctrlr/browserline.cxx')
-rw-r--r--extensions/source/propctrlr/browserline.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/source/propctrlr/browserline.cxx b/extensions/source/propctrlr/browserline.cxx
index 7f2e205b74d9..8bdb3333aa02 100644
--- a/extensions/source/propctrlr/browserline.cxx
+++ b/extensions/source/propctrlr/browserline.cxx
@@ -344,10 +344,12 @@ namespace pcr
void implSetBitIfAffected( sal_uInt16& _nEnabledBits, sal_Int16 _nAffectedMask, sal_Int16 _nTestBit, bool _bSet )
{
if ( _nAffectedMask & _nTestBit )
+ {
if ( _bSet )
_nEnabledBits |= _nTestBit;
else
_nEnabledBits &= ~_nTestBit;
+ }
}
void implEnable( Window* _pWindow, sal_uInt16 _nEnabledBits, sal_uInt16 _nMatchBits )