diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-11-05 11:39:42 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-11-05 11:39:42 +0000 |
commit | eb14b5a181c566ece06cb19ce3dadd05e8e15204 (patch) | |
tree | 4e725fd95a1afd3604dec54a1eb9e51763979436 /basctl | |
parent | 255be34dca5c76d4a1369e778477a16e2ce84bf0 (diff) |
INTEGRATION: CWS tbe7 (1.22.40); FILE MERGED
2003/08/15 14:44:47 tbe 1.22.40.1: #111830# New Basic libraries always contain a Main sub
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/moduldlg.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/basctl/source/basicide/moduldlg.cxx b/basctl/source/basicide/moduldlg.cxx index 203d44887e4e..522c853a1e66 100644 --- a/basctl/source/basicide/moduldlg.cxx +++ b/basctl/source/basicide/moduldlg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: moduldlg.cxx,v $ * - * $Revision: 1.22 $ + * $Revision: 1.23 $ * - * last change: $Author: vg $ $Date: 2003-04-24 14:05:44 $ + * last change: $Author: hr $ $Date: 2003-11-05 12:39:42 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -915,7 +915,7 @@ void ObjectPage::NewModule() SfxObjectShell* pShell = BasicIDE::FindDocShell( pBasMgr ); String aModName; createModImpl( static_cast<Window*>( this ), pShell, - pLib, aBasicBox, aLibName, aModName ); + pLib, aBasicBox, aLibName, aModName, true ); } } } @@ -1062,7 +1062,7 @@ void LibDialog::SetStorageName( const String& rName ) // Helper function SbModule* createModImpl( Window* pWin, SfxObjectShell* pShell, StarBASIC* pLib, - BasicTreeListBox& rBasicBox, const String& aLibName, String aModName ) + BasicTreeListBox& rBasicBox, const String& aLibName, String aModName, bool bMain ) { SbModule* pModule = NULL; @@ -1079,7 +1079,7 @@ SbModule* createModImpl( Window* pWin, SfxObjectShell* pShell, StarBASIC* pLib, try { - ::rtl::OUString aModule = BasicIDE::CreateModule( pShell, aLibName, aModName, TRUE ); + ::rtl::OUString aModule = BasicIDE::CreateModule( pShell, aLibName, aModName, bMain ); pModule = pLib->FindModule( aModName ); SbxItem aSbxItem( SID_BASICIDE_ARG_SBX, pShell, aLibName, aModName, BASICIDE_TYPE_MODULE ); |