summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2005-09-29 17:38:55 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2005-09-29 17:38:55 +0000
commited00d2c7c2fb45561c95dabb0de5583031ce67c9 (patch)
tree00a83d302aefc83ea94615d5e5f853c94aacc3a9 /basic
parentbe4ac035e00a7aa5fedfae56918b50b9e3078c3e (diff)
INTEGRATION: CWS ab17fixes (1.22.8); FILE MERGED
2005/09/29 18:31:11 hr 1.22.8.3: #i10000: manual resync; repair broken CWS 2005/08/23 11:35:01 ab 1.22.8.2: RESYNC: (1.22-1.23); FILE MERGED 2005/06/01 10:06:54 ab 1.22.8.1: #i48868# Block execution of previous call level
Diffstat (limited to 'basic')
-rw-r--r--basic/source/classes/sbxmod.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index 3014fad3cbb3..5f1b1292f899 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: sbxmod.cxx,v $
*
- * $Revision: 1.26 $
+ * $Revision: 1.27 $
*
- * last change: $Author: hr $ $Date: 2005-09-29 16:33:14 $
+ * last change: $Author: hr $ $Date: 2005-09-29 18:38:55 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -747,8 +747,12 @@ USHORT SbModule::Run( SbMethod* pMeth )
pMOD = this;
SbiRuntime* pRt = new SbiRuntime( this, pMeth, pMeth->nStart );
pRt->pNext = pINST->pRun;
+ if( pRt->pNext )
+ pRt->pNext->block();
pINST->pRun = pRt;
while( pRt->Step() ) {}
+ if( pRt->pNext )
+ pRt->pNext->unblock();
// #63710 Durch ein anderes Thread-Handling bei Events kann es passieren,
// dass show-Aufruf an einem Dialog zurueckkehrt (durch schliessen des