diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-12-10 08:06:06 +0100 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2016-07-20 01:25:49 -0400 |
commit | 5e94b28f3392f544d52a72836521be9168db2768 (patch) | |
tree | f0e152e0e42128543958487e8e3e81d94a58a750 /sd | |
parent | 9eef06f0db88461e9efa92c8cac6107200f7b942 (diff) |
loplugin:nullptr: More NULL -> nullptr automatic rewrite
Change-Id: Ie83819e2bcdc5fa160b39296b005ca9a5ff74b1d
(cherry picked from commit fb8a3fac5d448451794804a7470be45fa14da453)
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/app/sdmod.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/remotecontrol/AvahiNetworkService.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/app/sdmod.cxx b/sd/source/ui/app/sdmod.cxx index 1cdb5cf80691..ce537a53c4de 100644 --- a/sd/source/ui/app/sdmod.cxx +++ b/sd/source/ui/app/sdmod.cxx @@ -68,7 +68,7 @@ void SdModule::InitInterface_Impl() // Ctor SdModule::SdModule(SfxObjectFactory* pFact1, SfxObjectFactory* pFact2 ) : SfxModule( ResMgr::CreateResMgr("sd"), false, - pFact1, pFact2, NULL ), + pFact1, pFact2, nullptr ), pTransferClip(nullptr), pTransferDrag(nullptr), pTransferSelection(nullptr), diff --git a/sd/source/ui/remotecontrol/AvahiNetworkService.cxx b/sd/source/ui/remotecontrol/AvahiNetworkService.cxx index a5c5a94d5dfb..9d1204eda148 100644 --- a/sd/source/ui/remotecontrol/AvahiNetworkService.cxx +++ b/sd/source/ui/remotecontrol/AvahiNetworkService.cxx @@ -104,7 +104,7 @@ static bool create_services(AvahiClient *c) { snprintf(r, sizeof(r), "random=%i", nRandom); int ret = avahi_entry_group_add_service( group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, static_cast<AvahiPublishFlags>(0), - avahiService->getName().c_str(), kREG_TYPE, nullptr, nullptr, 1599, "local", r, NULL + avahiService->getName().c_str(), kREG_TYPE, nullptr, nullptr, 1599, "local", r, nullptr ); if (ret < 0) { |