summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-04-18 13:24:38 +0000
committerOliver Bolte <obo@openoffice.org>2005-04-18 13:24:38 +0000
commit6303aa33b3d1e7bb9a9ffc3641a7fa8f5e22e41b (patch)
tree32e1a3a428ca3b1446a8aa358e1cdeec28df5fdb /basctl
parentd716c1a47604a36efece28f7c6e351dfd8f54ccd (diff)
INTEGRATION: CWS olefix (1.41.8); FILE MERGED
2005/04/11 13:35:33 tbe 1.41.8.1: #i47002# API: calling oDoc.printPages(); oDoc.close(true) crashes the office
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/basides1.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx
index 23a7be474600..72b7a0cbe8d9 100644
--- a/basctl/source/basicide/basides1.cxx
+++ b/basctl/source/basicide/basides1.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: basides1.cxx,v $
*
- * $Revision: 1.42 $
+ * $Revision: 1.43 $
*
- * last change: $Author: obo $ $Date: 2005-04-13 09:49:55 $
+ * last change: $Author: obo $ $Date: 2005-04-18 14:24:38 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1283,8 +1283,10 @@ ModulWindow* BasicIDEShell::ShowActiveModuleWindow( StarBASIC* pBasic )
if ( pBasMgr )
{
SfxObjectShell* pShell = BasicIDE::FindDocShell( pBasMgr );
- pWin = FindBasWin( pShell, pLib->GetName(), pActiveModule->GetName(), TRUE );
+ String aLibName = pLib->GetName();
+ pWin = FindBasWin( pShell, aLibName, pActiveModule->GetName(), TRUE );
DBG_ASSERT( pWin, "Error/Step-Hdl: Fenster wurde nicht erzeugt/gefunden!" );
+ SetCurLib( pShell, aLibName );
SetCurWindow( pWin, TRUE );
}
}