diff --git a/sd/inc/drawdoc.hxx b/sd/inc/drawdoc.hxx index cb0e758fcdca..f33cfdedaeb4 100644 --- a/sd/inc/drawdoc.hxx +++ b/sd/inc/drawdoc.hxx @@ -164,7 +164,7 @@ private: sal_Bool mbOnlineSpell; sal_Bool mbSummationOfParagraphs; bool mbStartWithPresentation; ///< is set to true when starting with command line parameter -start - bool mbExitAfterPresenting = false; ///< true if mbStartWithPresentation AND Presentation was shown fully + bool mbExitAfterPresenting; ///< true if mbStartWithPresentation AND Presentation was shown fully LanguageType meLanguage; LanguageType meLanguageCJK; LanguageType meLanguageCTL; diff --git a/sd/source/core/drawdoc.cxx b/sd/source/core/drawdoc.cxx index 5fe97862b718..552e46dad8c6 100644 --- a/sd/source/core/drawdoc.cxx +++ b/sd/source/core/drawdoc.cxx @@ -152,6 +152,7 @@ SdDrawDocument::SdDrawDocument(DocumentType eType, SfxObjectShell* pDrDocSh) , mbInitialOnlineSpellingEnabled(sal_True) , mbNewOrLoadCompleted(sal_False) , mbStartWithPresentation( false ) +, mbExitAfterPresenting( false ) , meLanguage( LANGUAGE_SYSTEM ) , meLanguageCJK( LANGUAGE_SYSTEM ) , meLanguageCTL( LANGUAGE_SYSTEM )