From 7b1d32d57dad3a7a3c4557cb7bb3d310524b5c97 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 5 Dec 2010 12:58:16 +0000 Subject: cppcheck: unused variables --- framework/source/uiconfiguration/uiconfigurationmanager.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'framework/source/uiconfiguration') 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 -- cgit v1.2.3