[Libreoffice-commits] .: basic/source

Pierre-André Jacquod pjacquod at kemper.freedesktop.org
Thu Dec 16 23:56:41 PST 2010


 basic/source/sbx/sbxvar.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 45d1fd80f8be9f1148c9257df7c4b2ab84f11a26
Author: Pierre-André Jacquod <pjacquod at alumni.ethz.ch>
Date:   Fri Dec 17 08:52:20 2010 +0100

    fix compiling with --enable-dbgutil
    
    removed in #ifdef part a call using a variable that seems to not exists.

diff --git a/basic/source/sbx/sbxvar.cxx b/basic/source/sbx/sbxvar.cxx
index 9ea647e..fd6c639 100644
--- a/basic/source/sbx/sbxvar.cxx
+++ b/basic/source/sbx/sbxvar.cxx
@@ -81,7 +81,6 @@ SbxVariable::SbxVariable() : SbxValue()
     nHash = 0;
 #ifdef DBG_UTIL
     DbgOutf( "SbxVariable::Ctor %lx=%ld", (void*)this, ++nVar );
-    GetSbxData_Impl()->aVars.Insert( this, LIST_APPEND );
 #endif
 }
 
@@ -110,7 +109,6 @@ SbxVariable::SbxVariable( const SbxVariable& r )
     if ( maName.EqualsAscii( aCellsStr ) )
         maName.AssignAscii( aCellsStr, sizeof( aCellsStr )-1 );
     DbgOutf( "SbxVariable::Ctor %lx=%ld", (void*)this, ++nVar );
-    GetSbxData_Impl()->aVars.Insert( this, LIST_APPEND );
 #endif
 }
 
@@ -123,7 +121,6 @@ SbxVariable::SbxVariable( SbxDataType t, void* p ) : SbxValue( t, p )
     nHash = 0;
 #ifdef DBG_UTIL
     DbgOutf( "SbxVariable::Ctor %lx=%ld", (void*)this, ++nVar );
-    GetSbxData_Impl()->aVars.Insert( this, LIST_APPEND );
 #endif
 }
 
@@ -135,7 +132,6 @@ SbxVariable::~SbxVariable()
     static sal_Char const aCellsStr[] = "Cells";
     if ( maName.EqualsAscii( aCellsStr ) )
         maName.AssignAscii( aCellsStr, sizeof( aCellsStr )-1 );
-    GetSbxData_Impl()->aVars.Remove( this );
 #endif
     delete mpSbxVariableImpl;
     delete pCst;


More information about the Libreoffice-commits mailing list