summaryrefslogtreecommitdiff
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
commit7b1d32d57dad3a7a3c4557cb7bb3d310524b5c97 (patch)
tree3a872a16183b34338d8ae4a0d739bbb92673ba2e
parent825b2fc2bbe6a3a34b81e680081e47325361faf3 (diff)
cppcheck: unused variables
-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 62b8956f01..5ba910d2b1 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