diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2022-11-28 17:37:49 +0100 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2022-11-28 20:54:02 +0100 |
commit | c7b1fbff3673284d829606e5e07f9deb4258a5f5 (patch) | |
tree | 483f0ebd40fc4ee00a164bee1843b5a18fd339fa /sfx2 | |
parent | 361ba08c62d91026b555130dc9b9b73ce71d1289 (diff) |
f'up to the tdf#152172 fix re Safari as default browser on Ventura
Previous patch did only adjust the check in the rarely used version of
the function, not in the primarily used signature. D'oh!
Change-Id: I019a74651d3ee8bab43a8c3997b8cd05040b7ba4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143410
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/sfxhelp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx index fe6350aa6f57..01b35d5ca0c9 100644 --- a/sfx2/source/appl/sfxhelp.cxx +++ b/sfx2/source/appl/sfxhelp.cxx @@ -1291,7 +1291,7 @@ bool SfxHelp::Start_Impl(const OUString& rURL, weld::Widget* pWidget, const OUSt static_cast<CFStringRef>(@"https://www.libreoffice.org"), nullptr), kLSRolesAll, nullptr); - if([static_cast<NSString*>(CFURLGetString(pBrowser)) isEqualToString:@"file:///Applications/Safari.app/"]) { + if([static_cast<NSString*>(CFURLGetString(pBrowser)) hasSuffix:@"/Applications/Safari.app/"]) { impl_showOnlineHelp(aHelpURL, pWidget); return true; } |