diff options
Diffstat (limited to 'sd/source/ui/app/sdmod.cxx')
-rw-r--r-- | sd/source/ui/app/sdmod.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sd/source/ui/app/sdmod.cxx b/sd/source/ui/app/sdmod.cxx index 8719d29aa4e2..1f907bb92325 100644 --- a/sd/source/ui/app/sdmod.cxx +++ b/sd/source/ui/app/sdmod.cxx @@ -52,10 +52,7 @@ #include "app.hrc" #include "strings.hrc" #include "strings.hrc" - #include "errhdl.hrc" -#include "cfgids.hxx" - #define SdModule #include "sdslots.hxx" @@ -64,7 +61,7 @@ SFX_IMPL_INTERFACE(SdModule, SfxModule) void SdModule::InitInterface_Impl() { - GetStaticInterface()->RegisterStatusBar(RID_DRAW_STATUSBAR); + GetStaticInterface()->RegisterStatusBar(StatusBarId::DrawStatusBar); } // Ctor @@ -136,14 +133,14 @@ SdOptions* SdModule::GetSdOptions(DocumentType eDocType) if (eDocType == DocumentType::Draw) { if (!pDrawOptions) - pDrawOptions = new SdOptions( SDCFG_DRAW ); + pDrawOptions = new SdOptions(false); pOptions = pDrawOptions; } else if (eDocType == DocumentType::Impress) { if (!pImpressOptions) - pImpressOptions = new SdOptions( SDCFG_IMPRESS ); + pImpressOptions = new SdOptions(true); pOptions = pImpressOptions; } |