[Libreoffice-commits] core.git: sfx2/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jun 6 15:38:14 UTC 2019
sfx2/source/appl/sfxhelp.cxx | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
New commits:
commit ffed2de3e412ff35979ecea92c3d49eefe0fcc5d
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Jun 6 10:05:21 2019 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Jun 6 17:37:01 2019 +0200
loplugin:nullptr (macOS)
Change-Id: Ibd4bd34fc73f80aea7aaf2a5e524cf877822ee6b
Reviewed-on: https://gerrit.libreoffice.org/73587
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
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;
More information about the Libreoffice-commits
mailing list