summaryrefslogtreecommitdiff
path: root/include/salhelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-12-10 17:33:54 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-12-10 17:34:31 +0100
commit4a1edf626ad48b5955892e5590d75fa7ae5eaf58 (patch)
tree3ace4c2ac4da5529295780880f67fdfce09b6637 /include/salhelper
parent46fe3bddebf30775ae19eaa0fefe1d8e2f78eced (diff)
More loplugin:nullptr automatic rewrite (within templates)
Change-Id: I9bc06cfb5eeb38fd7ae7fb25f876ea9f96e4a65a
Diffstat (limited to 'include/salhelper')
-rw-r--r--include/salhelper/dynload.hxx2
-rw-r--r--include/salhelper/singletonref.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/salhelper/dynload.hxx b/include/salhelper/dynload.hxx
index 91d70c12d2a6..b5b16fae4638 100644
--- a/include/salhelper/dynload.hxx
+++ b/include/salhelper/dynload.hxx
@@ -108,7 +108,7 @@ public:
/// Default constructor
ODynamicLoader()
{
- m_pLoader = 0;
+ m_pLoader = NULL;
}
/** Constructor, loads the library if necessary otherwise the refernece count will
diff --git a/include/salhelper/singletonref.hxx b/include/salhelper/singletonref.hxx
index 84064be2a0ce..52e54a513dc5 100644
--- a/include/salhelper/singletonref.hxx
+++ b/include/salhelper/singletonref.hxx
@@ -128,7 +128,7 @@ class SingletonRef
if (m_nRef == 0)
{
delete m_pInstance;
- m_pInstance = 0;
+ m_pInstance = NULL;
}
// <- GLOBAL SAFE
}