summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-04-04 11:16:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-04-04 11:16:06 +0100
commit6b2d75f966140746e4fed4c0dd43a452e0cfdbae (patch)
tree0a962ec811c886a79e6542af813e074810274038 /sd
parent03d3506286eca8140e17b8473b9f33fa02da4f0c (diff)
cppcheck: noExplicitConstructor
Change-Id: I68310e2abc8f0ca114adb2b52f82157a0f455202
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/animations/CustomAnimationList.cxx2
-rw-r--r--sd/source/ui/animations/STLPropertySet.hxx2
-rw-r--r--sd/source/ui/dlg/filedlg.cxx2
-rw-r--r--sd/source/ui/inc/optsitem.hxx8
4 files changed, 7 insertions, 7 deletions
diff --git a/sd/source/ui/animations/CustomAnimationList.cxx b/sd/source/ui/animations/CustomAnimationList.cxx
index 07138faa9c04..0c64fededbdf 100644
--- a/sd/source/ui/animations/CustomAnimationList.cxx
+++ b/sd/source/ui/animations/CustomAnimationList.cxx
@@ -377,7 +377,7 @@ CustomAnimationListEntry::~CustomAnimationListEntry()
class CustomAnimationTriggerEntryItem : public SvLBoxString
{
public:
- CustomAnimationTriggerEntryItem( const OUString& aDescription );
+ explicit CustomAnimationTriggerEntryItem( const OUString& aDescription );
virtual ~CustomAnimationTriggerEntryItem();
void InitViewData( SvTreeListBox*,SvTreeListEntry*,SvViewDataItem* ) override;
SvLBoxItem* Create() const override;
diff --git a/sd/source/ui/animations/STLPropertySet.hxx b/sd/source/ui/animations/STLPropertySet.hxx
index 058e36ef8e3e..34050c087c57 100644
--- a/sd/source/ui/animations/STLPropertySet.hxx
+++ b/sd/source/ui/animations/STLPropertySet.hxx
@@ -39,7 +39,7 @@ struct STLPropertyMapEntry
STLPropertyMapEntry()
: mnState( STLPropertyState_AMBIGUOUS ) {}
- STLPropertyMapEntry( css::uno::Any aValue )
+ explicit STLPropertyMapEntry(css::uno::Any aValue)
: maValue( aValue ), mnState( STLPropertyState_DEFAULT ) {}
};
diff --git a/sd/source/ui/dlg/filedlg.cxx b/sd/source/ui/dlg/filedlg.cxx
index 3b05fa2f4cd8..6dce79eb5468 100644
--- a/sd/source/ui/dlg/filedlg.cxx
+++ b/sd/source/ui/dlg/filedlg.cxx
@@ -64,7 +64,7 @@ private:
DECL_LINK_TYPED( IsMusicStoppedHdl, Idle *, void );
public:
- SdFileDialog_Imp( const short nDialogType );
+ explicit SdFileDialog_Imp( const short nDialogType );
virtual ~SdFileDialog_Imp();
ErrCode Execute();
diff --git a/sd/source/ui/inc/optsitem.hxx b/sd/source/ui/inc/optsitem.hxx
index c0bf17a9f9d9..88cf3e8874b2 100644
--- a/sd/source/ui/inc/optsitem.hxx
+++ b/sd/source/ui/inc/optsitem.hxx
@@ -420,8 +420,8 @@ protected:
public:
- SdOptionsZoom( sal_uInt16 nConfigId );
- virtual ~SdOptionsZoom() {}
+ explicit SdOptionsZoom(sal_uInt16 nConfigId);
+ virtual ~SdOptionsZoom() {}
void GetScale( sal_Int32& rX, sal_Int32& rY ) const { Init(); rX = nX; rY = nY; }
void SetScale( sal_Int32 nInX, sal_Int32 nInY ) { if( nX != nInX || nY != nInY ) { OptionsChanged(); nX = nInX; nY = nInY; } }
@@ -437,8 +437,8 @@ protected:
public:
- SdOptionsGrid( sal_uInt16 nConfigId );
- virtual ~SdOptionsGrid();
+ explicit SdOptionsGrid(sal_uInt16 nConfigId);
+ virtual ~SdOptionsGrid();
void SetDefaults();