summaryrefslogtreecommitdiff
path: root/basic/source
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-07-02 08:58:48 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-07-02 08:58:48 +0000
commit62cf97f91691ce983dcffa9cf318f3f52c77e2f0 (patch)
tree989dcec9118fbd0107fa66186aec44c74713da42 /basic/source
parent951bc8d2b073eb9af7ad776bc553bef38c874940 (diff)
INTEGRATION: CWS npower10 (1.14.64); FILE MERGED
2008/05/07 07:10:39 pflin 1.14.64.2: RESYNC: (1.14-1.15); FILE MERGED 2007/12/20 21:23:01 npower 1.14.64.1: #58089
Diffstat (limited to 'basic/source')
-rw-r--r--basic/source/comp/sbcomp.cxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/basic/source/comp/sbcomp.cxx b/basic/source/comp/sbcomp.cxx
index fd1cf2593a45..ca748f239cf8 100644
--- a/basic/source/comp/sbcomp.cxx
+++ b/basic/source/comp/sbcomp.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: sbcomp.cxx,v $
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
* This file is part of OpenOffice.org.
*
@@ -134,6 +134,13 @@ BOOL SbModule::Compile()
if( bRet )
{
pBasic->ClearAllModuleVars();
+ // clear all method statics
+ for( USHORT i = 0; i < pMethods->Count(); i++ )
+ {
+ SbMethod* p = PTR_CAST(SbMethod,pMethods->Get( i ) );
+ if( p )
+ p->ClearStatics();
+ }
// #i31510 Init other libs only if Basic isn't running
if( pINST == NULL )