summaryrefslogtreecommitdiff
path: root/editeng/inc/editeng/numitem.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 /editeng/inc/editeng/numitem.hxx
parenta75a79e32718f98bf1f84199c944a831bec75a6a (diff)
more explicit ctors
Change-Id: If91343890d9ed29ff2887e47c7c0a332baa5a8e1
Diffstat (limited to 'editeng/inc/editeng/numitem.hxx')
-rw-r--r--editeng/inc/editeng/numitem.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/editeng/inc/editeng/numitem.hxx b/editeng/inc/editeng/numitem.hxx
index 5be3d9e5226a..f0aef1e65975 100644
--- a/editeng/inc/editeng/numitem.hxx
+++ b/editeng/inc/editeng/numitem.hxx
@@ -68,7 +68,7 @@ class EDITENG_DLLPUBLIC SvxNumberType
sal_Bool bShowSymbol; // Also show Symbol ?
public:
- SvxNumberType(sal_Int16 nType = com::sun::star::style::NumberingType::ARABIC);
+ explicit SvxNumberType(sal_Int16 nType = com::sun::star::style::NumberingType::ARABIC);
SvxNumberType(const SvxNumberType& rType);
~SvxNumberType();
@@ -154,7 +154,7 @@ private:
DECL_STATIC_LINK( SvxNumberFormat, GraphicArrived, void * );
virtual void NotifyGraphicArrived();
public:
- SvxNumberFormat( sal_Int16 nNumberingType,
+ explicit SvxNumberFormat( sal_Int16 nNumberingType,
SvxNumPositionAndSpaceMode ePositionAndSpaceMode = LABEL_WIDTH_AND_POSITION );
SvxNumberFormat(const SvxNumberFormat& rFormat);
@@ -288,7 +288,7 @@ class EDITENG_DLLPUBLIC SvxNumBulletItem : public SfxPoolItem
{
SvxNumRule* pNumRule;
public:
- SvxNumBulletItem(SvxNumRule& rRule);
+ explicit SvxNumBulletItem(SvxNumRule& rRule);
SvxNumBulletItem(SvxNumRule& rRule, sal_uInt16 nWhich );
SvxNumBulletItem(const SvxNumBulletItem& rCopy);
virtual ~SvxNumBulletItem();
@@ -313,7 +313,7 @@ class SvxNodeNum
sal_Bool bStartNum; // Restart numbering
public:
- inline SvxNodeNum( sal_uInt8 nLevel = SVX_NO_NUM, sal_uInt16 nSetVal = USHRT_MAX );
+ explicit inline SvxNodeNum( sal_uInt8 nLevel = SVX_NO_NUM, sal_uInt16 nSetVal = USHRT_MAX );
inline SvxNodeNum& operator=( const SvxNodeNum& rCpy );
sal_uInt8 GetLevel() const { return nMyLevel; }