summaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-11 11:25:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-11 14:56:14 +0100
commit8a3120ced522357f53c97b051d0af6437c7a0316 (patch)
tree8b3d19f6a686d1767adb469a123b371ee8950d4a /registry
parentddaca012d2715e5270dfeef43452e07aa7a9508c (diff)
cppcheck: noExplicitConstructor
Change-Id: Id6291335945a8f10cef3afd1a2b3bae65fdf4562
Diffstat (limited to 'registry')
-rw-r--r--registry/source/reflread.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/registry/source/reflread.cxx b/registry/source/reflread.cxx
index 346fce02a8b7..8d14bf664117 100644
--- a/registry/source/reflread.cxx
+++ b/registry/source/reflread.cxx
@@ -189,7 +189,7 @@ public:
sal_uInt16 m_numOfStrings;
sal_uInt16 m_stringsCopied;
- StringCache(sal_uInt16 size); // throws std::bad_alloc
+ explicit StringCache(sal_uInt16 size); // throws std::bad_alloc
~StringCache();
const sal_Unicode* getString(sal_uInt16 index);