diff options
-rw-r--r-- | framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx index 3a97816950..be93db9a59 100644 --- a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx +++ b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx @@ -907,8 +907,6 @@ void SAL_CALL ModuleUIConfigurationManager::reset() throw (::com::sun::star::uno if ( m_bDisposed ) throw DisposedException(); - bool bResetStorage( false ); - if ( !isReadOnly() ) { // Remove all elements from our user-defined storage! @@ -940,8 +938,6 @@ void SAL_CALL ModuleUIConfigurationManager::reset() throw (::com::sun::star::uno } } - bResetStorage = true; - // remove settings from user defined layer and notify listener about removed settings data! ConfigEventNotifyContainer aRemoveEventNotifyContainer; ConfigEventNotifyContainer aReplaceEventNotifyContainer; |