[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - sfx2/source
Szymon KÅos (via logerrit)
logerrit at kemper.freedesktop.org
Tue Feb 9 13:31:14 UTC 2021
sfx2/source/appl/sfxhelp.cxx | 7 +++++++
1 file changed, 7 insertions(+)
New commits:
commit 391f6cbf804f0a2bbd5e22cd3626d7af9a2e8cfa
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Mon Feb 8 19:01:00 2021 +0100
Commit: Henry Castro <hcastro at collabora.com>
CommitDate: Tue Feb 9 14:30:35 2021 +0100
lok: send help even when document not ready
Change-Id: I44855ef00a6c54a774965b3c951a4476ed5c8b01
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110593
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Henry Castro <hcastro at collabora.com>
diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx
index 3df45642a5df..67e268e27103 100644
--- a/sfx2/source/appl/sfxhelp.cxx
+++ b/sfx2/source/appl/sfxhelp.cxx
@@ -722,6 +722,13 @@ static bool impl_showOnlineHelp( const OUString& rURL )
aHelpLink.toUtf8().getStr());
return true;
}
+ else if (GetpApp())
+ {
+ GetpApp()->libreOfficeKitViewCallback(LOK_CALLBACK_HYPERLINK_CLICKED,
+ aHelpLink.toUtf8().getStr());
+ return true;
+ }
+
return false;
}
More information about the Libreoffice-commits
mailing list