summaryrefslogtreecommitdiff
path: root/basctl/source/basicide
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-11-15 12:40:49 +0000
committerOliver Bolte <obo@openoffice.org>2004-11-15 12:40:49 +0000
commit63ab0e7150231aa1901c9389d6de15247e92718b (patch)
treef9f333667823ba5200ff56d661ad41e4789aff9a /basctl/source/basicide
parent98dc2d97b03dfd3a1cf67382700a88866d6c6025 (diff)
INTEGRATION: CWS tbe13 (1.16.16); FILE MERGED
2004/10/27 11:20:01 tbe 1.16.16.1: #i35192# Menu missing in Basic IDE
Diffstat (limited to 'basctl/source/basicide')
-rw-r--r--basctl/source/basicide/iderdll.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/basctl/source/basicide/iderdll.cxx b/basctl/source/basicide/iderdll.cxx
index 1174becc3d09..59c25d05432d 100644
--- a/basctl/source/basicide/iderdll.cxx
+++ b/basctl/source/basicide/iderdll.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: iderdll.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: kz $ $Date: 2004-10-04 19:39:54 $
+ * last change: $Author: obo $ $Date: 2004-11-15 13:40:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -149,6 +149,12 @@ void BasicIDEDLL::Init()
new BasicIDEDLL;
SfxModule* pMod = BASIC_MOD();
+
+ SfxObjectFactory& rFactory = BasicDocShell::Factory();
+ rFactory.RegisterHelpFile( String( RTL_CONSTASCII_USTRINGPARAM( "sbasic" ) ) );
+ rFactory.SetDocumentServiceName( String::CreateFromAscii( "com.sun.star.script.BasicIDE" ) );
+ rFactory.RegisterMenuBar( IDEResId( RID_BASICMENU ) );
+
BasicDocShell::RegisterInterface( pMod );
BasicIDEShell::RegisterFactory( SVX_INTERFACE_BASIDE_VIEWSH );
BasicIDEShell::RegisterInterface( pMod );