diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/workwin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx index e4fb41ad1508..8d0970ed5d81 100644 --- a/sfx2/source/appl/workwin.cxx +++ b/sfx2/source/appl/workwin.cxx @@ -1048,9 +1048,9 @@ bool SfxWorkWindow::IsVisible_Impl( SfxVisibilityFlags nMode ) const return false; case SfxVisibilityFlags::Client: case SfxVisibilityFlags::Server: - return !!(nMode & nUpdateMode); + return bool(nMode & nUpdateMode); default: - return !!(nMode & nOrigMode ) || + return (nMode & nOrigMode ) || nOrigMode == SfxVisibilityFlags::Standard; } } |