[Libreoffice-commits] .: framework/source

Caolán McNamara caolan at kemper.freedesktop.org
Sun Dec 5 05:27:35 PST 2010


 framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit be6c8dca0c4f11444d0b6d2e69345c9df0bace11
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Dec 5 13:27:17 2010 +0000

    cppcheck: unused variables

diff --git a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx
index 3a97816..be93db9 100644
--- a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx
+++ b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx
@@ -907,8 +907,6 @@ void SAL_CALL ModuleUIConfigurationManager::reset() throw (::com::sun::star::uno
     if ( m_bDisposed )
         throw DisposedException();
     
-    bool bResetStorage( false );
-
     if ( !isReadOnly() )
     {
         // Remove all elements from our user-defined storage!
@@ -940,8 +938,6 @@ void SAL_CALL ModuleUIConfigurationManager::reset() throw (::com::sun::star::uno
                 }
             }
 
-            bResetStorage = true;
-        
             // remove settings from user defined layer and notify listener about removed settings data!
             ConfigEventNotifyContainer aRemoveEventNotifyContainer;
             ConfigEventNotifyContainer aReplaceEventNotifyContainer;


More information about the Libreoffice-commits mailing list