From ffed2de3e412ff35979ecea92c3d49eefe0fcc5d Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 6 Jun 2019 10:05:21 +0200 Subject: loplugin:nullptr (macOS) Change-Id: Ibd4bd34fc73f80aea7aaf2a5e524cf877822ee6b Reviewed-on: https://gerrit.libreoffice.org/73587 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- sfx2/source/appl/sfxhelp.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'sfx2/source/appl/sfxhelp.cxx') diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx index f746843e99ff..8fbdad1fc794 100644 --- a/sfx2/source/appl/sfxhelp.cxx +++ b/sfx2/source/appl/sfxhelp.cxx @@ -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(@"https://www.libreoffice.org"), - NULL), - kLSRolesAll, NULL); + nullptr), + kLSRolesAll, nullptr); if([static_cast(CFURLGetString(pBrowser)) isEqualToString:@"file:///Applications/Safari.app/"]) { impl_showOnlineHelp( aHelpURL ); return true; -- cgit v1.2.3