summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-02-20 20:01:38 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-02-21 07:35:11 +0100
commitdb760ac665357a008953d65d223226f165491348 (patch)
tree29cbd7c597e77f4b4b9c071e2a5b72511d7edbc0 /include
parentloplugin:subtlezeroinit: connectivity (diff)
downloadcore-db760ac665357a008953d65d223226f165491348.tar.gz
core-db760ac665357a008953d65d223226f165491348.zip
loplugin:subtlezeroinit: comphelper
Change-Id: I6b97583d9bdc0d0f8c059d0fbc9e3f41f822bf3b
Diffstat (limited to 'include')
-rw-r--r--include/comphelper/IdPropArrayHelper.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/comphelper/IdPropArrayHelper.hxx b/include/comphelper/IdPropArrayHelper.hxx
index 59c83f1f92ad..cf0232348cc9 100644
--- a/include/comphelper/IdPropArrayHelper.hxx
+++ b/include/comphelper/IdPropArrayHelper.hxx
@@ -93,7 +93,7 @@ namespace comphelper
::osl::MutexGuard aGuard(OIdPropertyArrayUsageHelperMutex<TYPE>::get());
// create the map if necessary
if (s_pMap == nullptr)
- s_pMap = new OIdPropertyArrayMap();
+ s_pMap = new OIdPropertyArrayMap;
++s_nRefCount;
}