[ooo-build-commit] .: basic/source

Kohei Yoshida kohei at kemper.freedesktop.org
Wed Oct 6 14:31:21 PDT 2010


 basic/source/classes/sbxmod.cxx |   11 -----------
 1 file changed, 11 deletions(-)

New commits:
commit bf8fb43fd8daa85f6ebb1c4d6997008e90835757
Author: Andreas Mantke <maand at gmx.de>
Date:   Wed Oct 6 22:38:10 2010 +0200

    removing of old outcommended source code

diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index 9e256ea..e805f9b 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -1347,17 +1347,6 @@ void StarBASIC::ClearAllModuleVars( void )
             pModule->ClearPrivateVars();
     }
 
-    /* #88042 This code can delete already used public vars during runtime!
-    // Check all objects, if they are a Basic
-    // If yes, then initialise them also there
-    for ( USHORT nObj = 0; nObj < pObjs->Count(); nObj++ )
-    {
-        SbxVariable* pVar = pObjs->Get( nObj );
-        StarBASIC* pBasic = PTR_CAST(StarBASIC,pVar);
-        if( pBasic )
-            pBasic->ClearAllModuleVars();
-    }
-    */
 }
 
 // Execution of the init-code of all module


More information about the ooo-build-commit mailing list