diff options
Diffstat (limited to 'framework/source/uiconfiguration')
-rw-r--r-- | framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx | 6 | ||||
-rw-r--r-- | framework/source/uiconfiguration/uiconfigurationmanager.cxx | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx index 8062a3b27d75..f2dfd653009f 100644 --- a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx +++ b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx @@ -1494,7 +1494,7 @@ void SAL_CALL ModuleUIConfigurationManager::reload() if ( m_bDisposed ) throw DisposedException(); - if ( !(m_xUserConfigStorage.is() && m_bModified && !m_bReadOnly) ) + if ( !m_xUserConfigStorage.is() || !m_bModified || m_bReadOnly ) return; // Try to access our module sub folder @@ -1537,7 +1537,7 @@ void SAL_CALL ModuleUIConfigurationManager::store() if ( m_bDisposed ) throw DisposedException(); - if ( !(m_xUserConfigStorage.is() && m_bModified && !m_bReadOnly) ) + if ( !m_xUserConfigStorage.is() || !m_bModified || m_bReadOnly ) return; // Try to access our module sub folder @@ -1569,7 +1569,7 @@ void SAL_CALL ModuleUIConfigurationManager::storeToStorage( const Reference< XSt if ( m_bDisposed ) throw DisposedException(); - if ( !(m_xUserConfigStorage.is() && m_bModified && !m_bReadOnly) ) + if ( !m_xUserConfigStorage.is() || !m_bModified || m_bReadOnly ) return; // Try to access our module sub folder 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 |