diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2000-11-14 13:13:15 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2000-11-14 13:13:15 +0000 |
commit | 65891be1049a85643eb969137dee84f3e4c35d66 (patch) | |
tree | 4c3839ed934ac1f76ac7347fc8b2ba943eedfd25 /basctl | |
parent | 538da04742554ede30467b4b14fd1f0f4b88f717 (diff) |
#65293#: MUST: soffice.ini
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/basobj2.cxx | 7 | ||||
-rw-r--r-- | basctl/source/basicide/iderdll.cxx | 7 |
2 files changed, 8 insertions, 6 deletions
diff --git a/basctl/source/basicide/basobj2.cxx b/basctl/source/basicide/basobj2.cxx index 6a356fc1a889..9a543d368d39 100644 --- a/basctl/source/basicide/basobj2.cxx +++ b/basctl/source/basicide/basobj2.cxx @@ -2,9 +2,9 @@ * * $RCSfile: basobj2.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: mh $ $Date: 2000-09-29 11:02:36 $ + * last change: $Author: hr $ $Date: 2000-11-14 14:13:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -67,6 +67,7 @@ #ifndef _SBXCLASS_HXX //autogen #include <svtools/sbx.hxx> #endif +#include <svtools/moduleoptions.hxx> #include <basobj.hxx> #include <iderdll.hxx> #include <iderdll2.hxx> @@ -107,7 +108,7 @@ SbMethod* BasicIDE::ChooseMacro( BOOL bExecute, BOOL bChooseOnly ) Window* pParent = Application::GetDefDialogParent(); MacroChooser* pChooser = new MacroChooser( pParent, TRUE ); - if ( bChooseOnly || !SFX_APP()->HasFeature( SFX_FEATURE_BASIC_IDE ) ) + if ( bChooseOnly || !SvtModuleOptions().IsBasicIDE() ) pChooser->SetMode( MACROCHOOSER_CHOOSEONLY ); short nRetValue = pChooser->Execute(); diff --git a/basctl/source/basicide/iderdll.cxx b/basctl/source/basicide/iderdll.cxx index bbfb09831bd1..752671fd0987 100644 --- a/basctl/source/basicide/iderdll.cxx +++ b/basctl/source/basicide/iderdll.cxx @@ -2,9 +2,9 @@ * * $RCSfile: iderdll.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: mh $ $Date: 2000-09-29 11:02:37 $ + * last change: $Author: hr $ $Date: 2000-11-14 14:13:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -81,6 +81,7 @@ #pragma hdrstop #include <svtools/solar.hrc> +#include <svtools/moduleoptions.hxx> #include <iderdll.hxx> #include <iderdll2.hxx> #include <iderid.hxx> @@ -190,7 +191,7 @@ IMPL_LINK( BasicIDEData, GlobalBasicErrorHdl, StarBASIC *, pBasic ) long nRet = 0; BasicIDEShell* pShell = 0; - if ( SFX_APP()->HasFeature( SFX_FEATURE_BASIC_IDE ) ) + if ( SvtModuleOptions().IsBasicIDE() ) { BasicManager* pBasicManager = BasicIDE::FindBasicManager( pBasic ); if ( pBasicManager ) |