From e5b721a14c1c8e5261a70588b30353cbb5bd55c6 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 10 Nov 2015 10:15:51 +0100 Subject: loplugin:nullptr (automatic rewrite) Change-Id: Ib336ce9bc95f5c84dd6412ff3c098e68c5b0f4ff --- formula/source/ui/resource/ModuleHelper.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'formula/source/ui/resource') diff --git a/formula/source/ui/resource/ModuleHelper.cxx b/formula/source/ui/resource/ModuleHelper.cxx index 8044b84ad15c..de87fa8af07a 100644 --- a/formula/source/ui/resource/ModuleHelper.cxx +++ b/formula/source/ui/resource/ModuleHelper.cxx @@ -55,7 +55,7 @@ public: }; OModuleImpl::OModuleImpl() - :m_pResources(NULL) + :m_pResources(nullptr) { } @@ -87,7 +87,7 @@ namespace struct theOModuleMutex : public rtl::Static< osl::Mutex, theOModuleMutex > {}; } sal_Int32 OModule::s_nClients = 0; -OModuleImpl* OModule::s_pImpl = NULL; +OModuleImpl* OModule::s_pImpl = nullptr; ResMgr* OModule::getResManager() { @@ -109,7 +109,7 @@ void OModule::revokeClient() if (!--s_nClients && s_pImpl) { delete s_pImpl; - s_pImpl = NULL; + s_pImpl = nullptr; } } -- cgit