[Libreoffice-commits] .: basic/source

Takeshi Abe tabe at kemper.freedesktop.org
Thu Aug 16 17:49:51 PDT 2012


 basic/source/basmgr/basmgr.cxx |   10 ----------
 1 file changed, 10 deletions(-)

New commits:
commit 0d5d4bacb27351a4d4d62cc48a25acf6b46342d8
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Fri Aug 17 09:48:25 2012 +0900

    Remove unused member variable
    
    its usefulness was gone at ac25ae2544969f57b0c3d51a7ee9e3eb047a8915
    
    Change-Id: I606cd4adb6dc92cc6d981e1da7ce3ecf2160c28e

diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx
index f37cdd7..e8ee8bf 100644
--- a/basic/source/basmgr/basmgr.cxx
+++ b/basic/source/basmgr/basmgr.cxx
@@ -116,14 +116,12 @@ struct BasicManagerImpl
     SvMemoryStream*  mpManagerStream;
     SvMemoryStream** mppLibStreams;
     sal_Int32        mnLibStreamCount;
-    sal_Bool         mbModifiedByLibraryContainer;
     sal_Bool         mbError;
 
     BasicManagerImpl( void )
         : mpManagerStream( NULL )
         , mppLibStreams( NULL )
         , mnLibStreamCount( 0 )
-        , mbModifiedByLibraryContainer( sal_False )
         , mbError( sal_False )
     {}
     ~BasicManagerImpl();
@@ -266,8 +264,6 @@ void SAL_CALL BasMgrContainerListenerImpl::elementInserted( const ContainerEvent
     ::rtl::OUString aName;
     Event.Accessor >>= aName;
 
-    mpMgr->mpImpl->mbModifiedByLibraryContainer = sal_True;
-
     if( bLibContainer )
     {
         Reference< XLibraryContainer > xScriptCont( Event.Source, UNO_QUERY );
@@ -314,8 +310,6 @@ void SAL_CALL BasMgrContainerListenerImpl::elementReplaced( const ContainerEvent
     ::rtl::OUString aName;
     Event.Accessor >>= aName;
 
-    mpMgr->mpImpl->mbModifiedByLibraryContainer = sal_True;
-
     // Replace not possible for library container
 #ifdef DBG_UTIL
     sal_Bool bLibContainer = ( maLibName.getLength() == 0 );
@@ -346,8 +340,6 @@ void SAL_CALL BasMgrContainerListenerImpl::elementRemoved( const ContainerEvent&
     ::rtl::OUString aName;
     Event.Accessor >>= aName;
 
-    mpMgr->mpImpl->mbModifiedByLibraryContainer = sal_True;
-
     sal_Bool bLibContainer = ( maLibName.getLength() == 0 );
     if( bLibContainer )
     {
@@ -786,8 +778,6 @@ void BasicManager::SetLibraryContainerInfo( const LibraryContainerInfo& rInfo )
                     }
                 }
             }
-
-            mpImpl->mbModifiedByLibraryContainer = sal_False;
         }
     }
 


More information about the Libreoffice-commits mailing list