sfx2/source/appl/app.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit a86669f4301541b446cab2e4fbbe1d86ba8a8a38
Author: Jan-Marek Glogowski <[email protected]>
AuthorDate: Tue Nov 30 19:32:56 2021 +0100
Commit: Jan-Marek Glogowski <[email protected]>
CommitDate: Thu Jan 20 08:52:16 2022 +0100
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 <[email protected]>
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)