sfx2/source/appl/sfxhelp.cxx | 4 ++++ 1 file changed, 4 insertions(+) New commits: commit 5dbb4d28b3310109ba47d02ea486299ba56e3c9f Author: Andras Timar <andras.ti...@collabora.com> AuthorDate: Fri Jan 19 15:49:49 2024 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Sat Jan 20 22:18:47 2024 +0100
LOK: disable popup bubble for hyperlinks Change-Id: I0ca21a90561affa453bd249c86e58793618f809e (cherry picked from commit 88fea772610a4feef018ba03fd19749841772225) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162335 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx index c67f1485497f..b297c27578dd 100644 --- a/sfx2/source/appl/sfxhelp.cxx +++ b/sfx2/source/appl/sfxhelp.cxx @@ -666,6 +666,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