summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-09-16 23:59:27 +0200
committerJulien Nabet <serval2412@yahoo.fr>2011-09-16 23:59:27 +0200
commit3f15bfa050f79fd18ecb46d859c7dd79b79c230b (patch)
treea90aed40aa9737788ff76053133c18006ef2cb5a /sfx2
parent91a7e5adce8178ba83abc3a701dfd622dbbcc1bf (diff)
Fix 2 bitwiseOnBoolean detected by cppcheck
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/workwin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx
index f0eb712824cc..bdd2c417a36e 100644
--- a/sfx2/source/appl/workwin.cxx
+++ b/sfx2/source/appl/workwin.cxx
@@ -1070,7 +1070,7 @@ void SfxWorkWindow::ShowChilds_Impl()
// the child window even in situations where no child window is
// visible.
sal_uInt16 nFlags = pCW->aInfo.nFlags;
- bVisible = !bInvisible || ( bInvisible & (( nFlags & SFX_CHILDWIN_NEVERHIDE ) != 0 ));
+ bVisible = !bInvisible || (( nFlags & SFX_CHILDWIN_NEVERHIDE ) != 0 );
}
if ( CHILD_VISIBLE == (pCli->nVisible & CHILD_VISIBLE) && bVisible )