diff options
Diffstat (limited to 'framework/source/uiconfiguration/uiconfigurationmanager.cxx')
-rw-r--r-- | framework/source/uiconfiguration/uiconfigurationmanager.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/uiconfiguration/uiconfigurationmanager.cxx b/framework/source/uiconfiguration/uiconfigurationmanager.cxx index 84262be81c1a..8a3ba8304c70 100644 --- a/framework/source/uiconfiguration/uiconfigurationmanager.cxx +++ b/framework/source/uiconfiguration/uiconfigurationmanager.cxx @@ -1226,7 +1226,7 @@ void SAL_CALL UIConfigurationManager::reload() if ( m_bDisposed ) throw DisposedException(); - if ( !(m_xDocConfigStorage.is() && m_bModified && !m_bReadOnly) ) + if ( !m_xDocConfigStorage.is() || !m_bModified || m_bReadOnly ) return; // Try to access our module sub folder @@ -1265,7 +1265,7 @@ void SAL_CALL UIConfigurationManager::store() if ( m_bDisposed ) throw DisposedException(); - if ( !(m_xDocConfigStorage.is() && m_bModified && !m_bReadOnly) ) + if ( !m_xDocConfigStorage.is() || !m_bModified || m_bReadOnly ) return; // Try to access our module sub folder @@ -1297,7 +1297,7 @@ void SAL_CALL UIConfigurationManager::storeToStorage( const Reference< XStorage if ( m_bDisposed ) throw DisposedException(); - if ( !(m_xDocConfigStorage.is() && m_bModified && !m_bReadOnly) ) + if ( !m_xDocConfigStorage.is() || !m_bModified || m_bReadOnly ) return; // Try to access our module sub folder |