Hi,

I removed old source code, that was already outcommended, from the file 
sbxmod.cxx.

Regards,
Andreas
-- 
## Content Developer OpenOffice.org: lang/DE
## Freie Office-Suite für Linux, Mac, Windows, Solaris
## http://de.openoffice.org
## OpenOffice.org Portable: http://oooportable.org
## OOoPDFConverter: http://ooopdfconverter.sourceforge.net
## Meine Seite: http://www.amantke.de 
From 83fdad2b178b107a90a2e890adca02358521b3ad Mon Sep 17 00:00:00 2001
From: Andreas Mantke <[email protected]>
Date: Wed, 6 Oct 2010 22:38:10 +0200
Subject: [PATCH] removing of old outcommended source code

---
 basic/source/classes/sbxmod.cxx |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index 7f0d7fe..497a726 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -1349,17 +1349,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
-- 
1.7.1

_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to