diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-12-09 12:40:10 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-09 12:40:10 +0000 |
commit | c2df791b70c6063af421163be8fe00a5a2143e0c (patch) | |
tree | 5eea1c31a64d84a18691c7291b85685788d17fd0 /framework | |
parent | 9adaeb8d7a49d36ae2bb691225a1ae3213b06dab (diff) |
cppcheck: unused variable
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/uiconfiguration/uiconfigurationmanagerimpl.cxx | 4 |
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; |