summaryrefslogtreecommitdiff
path: root/basic/source/runtime/runtime.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2005-09-29 17:42:01 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2005-09-29 17:42:01 +0000
commitea6fefa5338f2734be6d2ade0a9383e292767e89 (patch)
treeaa5cca74df500235e97b4a24970848e6dcb20302 /basic/source/runtime/runtime.cxx
parent0b4d2780d309311a1bd4400694c89ce4f16643de (diff)
INTEGRATION: CWS ab17fixes (1.22.8); FILE MERGED
2005/09/29 18:29:47 hr 1.22.8.2: #i10000: manual resync; repair broken CWS 2005/06/01 10:01:18 ab 1.22.8.1: #i48868# SbiRuntime: Block execution according to block flag
Diffstat (limited to 'basic/source/runtime/runtime.cxx')
-rw-r--r--basic/source/runtime/runtime.cxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index d3ddc537c171..7752baaa4df8 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: runtime.cxx,v $
*
- * $Revision: 1.23 $
+ * $Revision: 1.24 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 21:41:13 $
+ * last change: $Author: hr $ $Date: 2005-09-29 18:42:01 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -510,6 +510,7 @@ SbiRuntime::SbiRuntime( SbModule* pm, SbMethod* pe, USHORT nStart )
bRun =
bError = TRUE;
bInError = FALSE;
+ bBlocked = FALSE;
nLine =
nCol1 =
nCol2 =
@@ -650,6 +651,13 @@ BOOL SbiRuntime::Step()
if( !( ++nOps & 0x1F ) && pInst->IsReschedule() && bStaticGlobalEnableReschedule )
Application::Reschedule();
+ // #i48868 blocked by next call level?
+ while( bBlocked )
+ {
+ if( pInst->IsReschedule() && bStaticGlobalEnableReschedule )
+ Application::Reschedule();
+ }
+
SbiOpcode eOp = (SbiOpcode ) ( *pCode++ );
USHORT nOp1, nOp2;
if( eOp <= SbOP0_END )