summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-08 09:29:35 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-08 11:14:38 +0100
commit0f71828a9582f241dcddac5fe9a11fdf3a1a4e1c (patch)
tree75cb6a18fd360d7b2e53f4048a56b2e79e8499c8 /svtools
parentf6e5a0ac09eb1b02caf62980e4caaf3f239b9ca7 (diff)
cppcheck: noExplicitConstructor
Change-Id: I8b03c27188b02c3c4a9a9fbbe0df1fb1ae1c5caf
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/treelistentry.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/contnr/treelistentry.cxx b/svtools/source/contnr/treelistentry.cxx
index e479b430de8c..a80752cdd1ed 100644
--- a/svtools/source/contnr/treelistentry.cxx
+++ b/svtools/source/contnr/treelistentry.cxx
@@ -174,7 +174,7 @@ class FindByType : std::unary_function<SvLBoxItem, void>
{
sal_uInt16 mnId;
public:
- FindByType(sal_uInt16 nId) : mnId(nId) {}
+ explicit FindByType(sal_uInt16 nId) : mnId(nId) {}
bool operator() (const SvLBoxItem& rItem) const
{
return rItem.GetType() == mnId;