From a86669f4301541b446cab2e4fbbe1d86ba8a8a38 Mon Sep 17 00:00:00 2001 From: Jan-Marek Glogowski Date: Tue, 30 Nov 2021 19:32:56 +0100 Subject: [PATCH] WASM show the compiled-in English help Even without XMLHELP support, the default English help strings can be shown. Change-Id: I0ac7a617d7209f70cc7c3cdd34bf0f17a5d4133a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128626 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski --- sfx2/source/appl/app.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sfx2/source/appl/app.cxx b/sfx2/source/appl/app.cxx index 5fe23fa6257f..b8bec0d6ff5e 100644 --- a/sfx2/source/appl/app.cxx +++ b/sfx2/source/appl/app.cxx @@ -124,6 +124,8 @@ SfxApplication* SfxApplication::GetOrCreate() ::framework::SetIsDockingWindowVisible( IsDockingWindowVisible ); #if HAVE_FEATURE_XMLHELP Application::SetHelp( pSfxHelp ); +#endif +#if HAVE_FEATURE_XMLHELP || defined(EMSCRIPTEN) bool bHelpTip = officecfg::Office::Common::Help::Tip::get(); bool bExtendedHelpTip = officecfg::Office::Common::Help::ExtendedTip::get(); if (!utl::ConfigManager::IsFuzzing() && bHelpTip)