Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


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 <maand@gmx.de>
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


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.