summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/security/access_controller.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/security/access_controller.cxx b/stoc/source/security/access_controller.cxx
index 7b10e11f01c9..c9387e7514b3 100644
--- a/stoc/source/security/access_controller.cxx
+++ b/stoc/source/security/access_controller.cxx
@@ -384,7 +384,7 @@ AccessController::AccessController( Reference< XComponentContext > const & xComp
}
// switch on caching for Mode::DynamicOnly and Mode::On (shareable multi-user process)
- if (!(Mode::On == m_mode || Mode::DynamicOnly == m_mode))
+ if (Mode::On != m_mode && Mode::DynamicOnly != m_mode)
return;
sal_Int32 cacheSize = 0; // multi-user cache size