Kaydet (Commit) ffed2de3 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:nullptr (macOS)

Change-Id: Ibd4bd34fc73f80aea7aaf2a5e524cf877822ee6b
Reviewed-on: https://gerrit.libreoffice.org/73587
Tested-by: Jenkins
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 5e537214
......@@ -725,8 +725,8 @@ static bool impl_showOnlineHelp( const OUString& rURL )
CFStringCreateWithCString(kCFAllocatorDefault,
aHelpLink.toUtf8().getStr(),
kCFStringEncodingUTF8),
NULL),
NULL);
nullptr),
nullptr);
#else
sfx2::openUriExternally(aHelpLink, false);
#endif
......@@ -953,8 +953,8 @@ static bool impl_showOfflineHelp( const OUString& rURL )
CFStringCreateWithCString(kCFAllocatorDefault,
aTempFile.GetURL().toUtf8().getStr(),
kCFStringEncodingUTF8),
NULL),
NULL);
nullptr),
nullptr);
#else
sfx2::openUriExternally(aTempFile.GetURL(), false);
#endif
......@@ -1077,8 +1077,8 @@ bool SfxHelp::Start_Impl(const OUString& rURL, const vcl::Window* pWindow, const
CFURLCreateWithString(
kCFAllocatorDefault,
static_cast<CFStringRef>(@"https://www.libreoffice.org"),
NULL),
kLSRolesAll, NULL);
nullptr),
kLSRolesAll, nullptr);
if([static_cast<NSString*>(CFURLGetString(pBrowser)) isEqualToString:@"file:///Applications/Safari.app/"]) {
impl_showOnlineHelp( aHelpURL );
return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment