summaryrefslogtreecommitdiff
path: root/svl/inc/svl/eitem.hxx
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-12-04 13:47:35 +0100
committerDavid Tardon <dtardon@redhat.com>2012-12-04 14:26:30 +0100
commit54107c9b3c0e07d70b9afb7d367dea14bf98e4cd (patch)
tree216d7bbf38ee872a54a6423eee119000abf704ca /svl/inc/svl/eitem.hxx
parenta75a79e32718f98bf1f84199c944a831bec75a6a (diff)
more explicit ctors
Change-Id: If91343890d9ed29ff2887e47c7c0a332baa5a8e1
Diffstat (limited to 'svl/inc/svl/eitem.hxx')
-rw-r--r--svl/inc/svl/eitem.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/inc/svl/eitem.hxx b/svl/inc/svl/eitem.hxx
index ba0139f9add9..c9c5e389132f 100644
--- a/svl/inc/svl/eitem.hxx
+++ b/svl/inc/svl/eitem.hxx
@@ -27,7 +27,7 @@
class SVL_DLLPUBLIC SfxEnumItem: public CntEnumItem
{
protected:
- SfxEnumItem(sal_uInt16 which = 0, sal_uInt16 nValue = 0):
+ explicit SfxEnumItem(sal_uInt16 which = 0, sal_uInt16 nValue = 0):
CntEnumItem(which, nValue) {}
SfxEnumItem(sal_uInt16 which, SvStream & rStream):
@@ -44,7 +44,7 @@ class SVL_DLLPUBLIC SfxBoolItem: public CntBoolItem
public:
TYPEINFO();
- SfxBoolItem(sal_uInt16 which = 0, sal_Bool bValue = sal_False):
+ explicit SfxBoolItem(sal_uInt16 which = 0, sal_Bool bValue = sal_False):
CntBoolItem(which, bValue) {}
SfxBoolItem(sal_uInt16 which, SvStream & rStream):