diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2021-02-08 19:01:00 +0100 |
---|---|---|
committer | Henry Castro <hcastro@collabora.com> | 2021-02-09 14:30:35 +0100 |
commit | 391f6cbf804f0a2bbd5e22cd3626d7af9a2e8cfa (patch) | |
tree | 33b17e5f7fb1ada77f9d20720d8c14e1b6fe7384 | |
parent | 4e544c7776207d2c7725e10a13896c9eb3265370 (diff) |
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@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
-rw-r--r-- | sfx2/source/appl/sfxhelp.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
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; } |