summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-05 13:27:17 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-05 13:27:17 +0000
commitbe6c8dca0c4f11444d0b6d2e69345c9df0bace11 (patch)
treeabf4a413ce8ca7533c88a796c94c92f701969a4c
parent7b1d32d57dad3a7a3c4557cb7bb3d310524b5c97 (diff)
cppcheck: unused variables
-rw-r--r--framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx4
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;