diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-06-06 10:05:21 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-06-06 17:37:01 +0200 |
commit | ffed2de3e412ff35979ecea92c3d49eefe0fcc5d (patch) | |
tree | a7ea7e0c38daa5abf4478def4973a39df0212042 /sfx2/source/appl/sfxhelp.cxx | |
parent | 5e5372145e8ec4c5bc2c41f15fec8b78a52ad01b (diff) |
loplugin:nullptr (macOS)
Change-Id: Ibd4bd34fc73f80aea7aaf2a5e524cf877822ee6b
Reviewed-on: https://gerrit.libreoffice.org/73587
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sfx2/source/appl/sfxhelp.cxx')
-rw-r--r-- | sfx2/source/appl/sfxhelp.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
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<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; |