diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2004-01-06 16:12:14 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2004-01-06 16:12:14 +0000 |
commit | 6111bb5df73835baac765f318e2184922c777d3f (patch) | |
tree | a33e364b532b4b5070555af20e539f4fd62de0db /basctl/source | |
parent | 8b94827e75df2a0aaaf164da9294bd3a4dde18aa (diff) |
INTEGRATION: CWS vclcleanup02 (1.28.4); FILE MERGED
2003/12/11 08:46:33 mt 1.28.4.2: #i23061# VCL cleanup, removed headers, methods and types...
2003/12/04 16:18:02 mt 1.28.4.1: #i23061# Removed/Changed old StarView stuff
Diffstat (limited to 'basctl/source')
-rw-r--r-- | basctl/source/basicide/basides1.cxx | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx index f28d50bbb9ef..45779c0b7d4a 100644 --- a/basctl/source/basicide/basides1.cxx +++ b/basctl/source/basicide/basides1.cxx @@ -2,9 +2,9 @@ * * $RCSfile: basides1.cxx,v $ * - * $Revision: 1.28 $ + * $Revision: 1.29 $ * - * last change: $Author: kz $ $Date: 2003-11-18 16:59:39 $ + * last change: $Author: vg $ $Date: 2004-01-06 17:12:14 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -91,7 +91,6 @@ #include <iderdll.hxx> #include <iderdll2.hxx> #include <sbxitem.hxx> -#include <vcl/rcid.h> #include <helpid.hrc> #include <svtools/texteng.hxx> @@ -1336,12 +1335,16 @@ long BasicIDEShell::CallBasicBreakHdl( StarBASIC* pBasic ) if ( StarBASIC::IsRunning() ) // Falls abgebrochen... { if ( bAppWindowDisabled ) - Application::GetDefModalDialogParent()->Enable( FALSE ); + Application::GetDefDialogParent()->Enable( FALSE ); if ( bDispatcherLocked ) SFX_APP()->LockDispatcher( TRUE ); - for ( USHORT n = 0; n < nWaitCount; n++ ) - Application::EnterWait(); + if ( nWaitCount ) + { + BasicIDEShell* pIDEShell = IDE_DLL()->GetShell(); + for ( USHORT n = 0; n < nWaitCount; n++ ) + pIDEShell->GetViewFrame()->GetWindow().EnterWait(); + } } } return nRet; |