summaryrefslogtreecommitdiff
path: root/formula/source/ui/resource
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:15:51 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:26 +0100
commite5b721a14c1c8e5261a70588b30353cbb5bd55c6 (patch)
tree4363d47845ddc271a032a5f18e402ddbe001891b /formula/source/ui/resource
parent11d365241808405483b79efd7879fa04bee8945e (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: Ib336ce9bc95f5c84dd6412ff3c098e68c5b0f4ff
Diffstat (limited to 'formula/source/ui/resource')
-rw-r--r--formula/source/ui/resource/ModuleHelper.cxx6
1 files changed, 3 insertions, 3 deletions
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;
}
}