summaryrefslogtreecommitdiff
path: root/framework/source/uiconfiguration
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-05 12:58:16 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-05 12:58:16 +0000
commit1b15579b9f3f76f21363853ad80ab48690fbe254 (patch)
tree59b66e72fc4cffbb68b6e6d602838989d0e6691f /framework/source/uiconfiguration
parentd2f7b78beecfefebb0e53473fa5a5170593f5ccc (diff)
cppcheck: unused variables
Diffstat (limited to 'framework/source/uiconfiguration')
-rw-r--r--framework/source/uiconfiguration/uiconfigurationmanager.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/framework/source/uiconfiguration/uiconfigurationmanager.cxx b/framework/source/uiconfiguration/uiconfigurationmanager.cxx
index e784f560c6b5..06bec8c814f3 100644
--- a/framework/source/uiconfiguration/uiconfigurationmanager.cxx
+++ b/framework/source/uiconfiguration/uiconfigurationmanager.cxx
@@ -697,7 +697,6 @@ void SAL_CALL UIConfigurationManager::reset() throw (::com::sun::star::uno::Runt
if ( isReadOnly() )
return;
- bool bResetStorage( false );
if ( m_xDocConfigStorage.is() )
{
try
@@ -737,7 +736,6 @@ void SAL_CALL UIConfigurationManager::reset() throw (::com::sun::star::uno::Runt
if ( xTransactedObject.is() )
xTransactedObject->commit();
}
- bResetStorage = true;
// remove settings from user defined layer and notify listener about removed settings data!
// Try to access our module sub folder