summaryrefslogtreecommitdiffstats
path: root/sfx2/source/appl/app.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/appl/app.cxx')
-rw-r--r--sfx2/source/appl/app.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/appl/app.cxx b/sfx2/source/appl/app.cxx
index 89bc3fdc50ea..e410902ccdb7 100644
--- a/sfx2/source/appl/app.cxx
+++ b/sfx2/source/appl/app.cxx
@@ -67,7 +67,7 @@ using namespace ::com::sun::star;
static SfxApplication* g_pSfxApplication = nullptr;
-#if HAVE_FEATURE_DESKTOP
+#if HAVE_FEATURE_XMLHELP
static SfxHelp* pSfxHelp = nullptr;
#endif
@@ -127,7 +127,7 @@ SfxApplication* SfxApplication::GetOrCreate()
::framework::SetStatusBarControllerCreator( SfxStatusBarControllerFactory );
::framework::SetDockingWindowCreator( SfxDockingWindowFactory );
::framework::SetIsDockingWindowVisible( IsDockingWindowVisible );
-#if HAVE_FEATURE_DESKTOP
+#if HAVE_FEATURE_XMLHELP
Application::SetHelp( pSfxHelp );
if (!utl::ConfigManager::IsFuzzing() && SvtHelpOptions().IsHelpTips())
Help::EnableQuickHelp();
@@ -167,7 +167,7 @@ SfxApplication::SfxApplication()
(void)bOk;
#endif
-#if HAVE_FEATURE_DESKTOP
+#if HAVE_FEATURE_XMLHELP
pSfxHelp = new SfxHelp;
#endif
@@ -187,7 +187,7 @@ SfxApplication::~SfxApplication()
for (auto &module : pImpl->aModules) // Clear modules
module.reset();
-#if HAVE_FEATURE_DESKTOP
+#if HAVE_FEATURE_XMLHELP
delete pSfxHelp;
Application::SetHelp();
#endif