sfx2/source/appl/sfxhelp.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 885c58bd8ca54cf10046bf245dadbc305c7ffea8
Author:     Andras Timar <[email protected]>
AuthorDate: Fri Jan 19 15:49:49 2024 +0100
Commit:     Andras Timar <[email protected]>
CommitDate: Sat Jan 20 20:18:03 2024 +0100

    LOK: disable popup bubble for hyperlinks
    
    Change-Id: I0ca21a90561affa453bd249c86e58793618f809e
    (cherry picked from commit 88fea772610a4feef018ba03fd19749841772225)

diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx
index b596a4e33efa..785872ddee0b 100644
--- a/sfx2/source/appl/sfxhelp.cxx
+++ b/sfx2/source/appl/sfxhelp.cxx
@@ -665,6 +665,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

Reply via email to