summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-09 12:40:10 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-09 12:40:10 +0000
commitc2df791b70c6063af421163be8fe00a5a2143e0c (patch)
tree5eea1c31a64d84a18691c7291b85685788d17fd0 /framework
parent9adaeb8d7a49d36ae2bb691225a1ae3213b06dab (diff)
cppcheck: unused variable
Diffstat (limited to 'framework')
-rw-r--r--framework/source/uiconfiguration/uiconfigurationmanagerimpl.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/framework/source/uiconfiguration/uiconfigurationmanagerimpl.cxx b/framework/source/uiconfiguration/uiconfigurationmanagerimpl.cxx
index cb221f0bcfab..f9926f5635d1 100644
--- a/framework/source/uiconfiguration/uiconfigurationmanagerimpl.cxx
+++ b/framework/source/uiconfiguration/uiconfigurationmanagerimpl.cxx
@@ -881,8 +881,6 @@ void UIConfigurationManagerImpl::reset() throw (::com::sun::star::uno::RuntimeEx
if ( m_bDisposed )
throw DisposedException();
- bool bResetStorage( false );
-
if ( !isReadOnly() )
{
// Remove all elements from our user-defined storage!
@@ -914,8 +912,6 @@ void UIConfigurationManagerImpl::reset() throw (::com::sun::star::uno::RuntimeEx
}
}
- bResetStorage = true;
-
// remove settings from user defined layer and notify listener about removed settings data!
ConfigEventNotifyContainer aRemoveEventNotifyContainer;
ConfigEventNotifyContainer aReplaceEventNotifyContainer;