summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/moduldl2.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2004-01-06 16:13:44 +0000
committerVladimir Glazounov <vg@openoffice.org>2004-01-06 16:13:44 +0000
commit729f92536d2953b52707b4515d60ad336d63508a (patch)
tree5a4e99bb53d79e0e7d215546ad7f8c28c9232d57 /basctl/source/basicide/moduldl2.cxx
parentf6e756103d1052e80171221a531f60f52007c269 (diff)
INTEGRATION: CWS vclcleanup02 (1.42.46); FILE MERGED
2003/12/11 08:46:35 mt 1.42.46.1: #i23061# VCL cleanup, removed headers, methods and types...
Diffstat (limited to 'basctl/source/basicide/moduldl2.cxx')
-rw-r--r--basctl/source/basicide/moduldl2.cxx14
1 files changed, 8 insertions, 6 deletions
diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx
index fa9b9a942..55adee7ae 100644
--- a/basctl/source/basicide/moduldl2.cxx
+++ b/basctl/source/basicide/moduldl2.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: moduldl2.cxx,v $
*
- * $Revision: 1.42 $
+ * $Revision: 1.43 $
*
- * last change: $Author: vg $ $Date: 2003-07-11 11:21:36 $
+ * last change: $Author: vg $ $Date: 2004-01-06 17:13:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -742,18 +742,20 @@ IMPL_LINK( LibPage, ButtonHdl, Button *, pButton )
Reference< script::XLibraryContainer > xModLibContainer = BasicIDE::GetModuleLibraryContainer( pShell );
if ( xModLibContainer.is() && xModLibContainer->hasByName( aOULibName ) && !xModLibContainer->isLibraryLoaded( aOULibName ) )
{
- Application::EnterWait();
+ BasicIDEShell* pIDEShell = IDE_DLL()->GetShell();
+ pIDEShell->GetViewFrame()->GetWindow().EnterWait();
xModLibContainer->loadLibrary( aOULibName );
- Application::LeaveWait();
+ pIDEShell->GetViewFrame()->GetWindow().LeaveWait();
}
// load dialog library (if not loaded)
Reference< script::XLibraryContainer > xDlgLibContainer = BasicIDE::GetDialogLibraryContainer( pShell );
if ( xDlgLibContainer.is() && xDlgLibContainer->hasByName( aOULibName ) && !xDlgLibContainer->isLibraryLoaded( aOULibName ) )
{
- Application::EnterWait();
+ BasicIDEShell* pIDEShell = IDE_DLL()->GetShell();
+ pIDEShell->GetViewFrame()->GetWindow().EnterWait();
xDlgLibContainer->loadLibrary( aOULibName );
- Application::LeaveWait();
+ pIDEShell->GetViewFrame()->GetWindow().LeaveWait();
}
// check, if library is password protected