diff options
author | Andras Timar <andras.timar@collabora.com> | 2024-01-19 15:49:49 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2024-01-19 17:41:22 +0100 |
commit | 6e44b6f827d9e7f310a05bed64dbf84aaf663505 (patch) | |
tree | 8c2a3d8095063fe8e8005c140cf0dc4609479e3f | |
parent | d338aee6f33ef88d9104444ff0b7c5986c2804f9 (diff) |
LOK: disable popup bubble for hyperlinks
Change-Id: I0ca21a90561affa453bd249c86e58793618f809e
-rw-r--r-- | sfx2/source/appl/sfxhelp.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx index 01b35d5ca0c9..0f27e631a20c 100644 --- a/sfx2/source/appl/sfxhelp.cxx +++ b/sfx2/source/appl/sfxhelp.cxx @@ -670,6 +670,10 @@ OUString SfxHelp::GetHelpText(const OUString& aCommandURL, const weld::Widget* p OUString SfxHelp::GetURLHelpText(std::u16string_view aURL) { + // hyperlinks are handled differently in Online + if (comphelper::LibreOfficeKit::isActive()) + return OUString(); + bool bCtrlClickHlink = SvtSecurityOptions::IsOptionSet(SvtSecurityOptions::EOption::CtrlClickHyperlink); // "ctrl-click to follow link:" for not MacOS |