diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-11-02 09:52:33 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-11-02 10:16:38 +0000 |
commit | 4ea0390faa22037f1d4f703c0882a027cf2ae643 (patch) | |
tree | cbcc7db6e327ef0efa53d26241fc48f0ff2ee90f /sc/source/filter | |
parent | 708d1c5ab242b545ced598879233fc662d7e6cc0 (diff) |
cppcheck: noExplicitConstructor
Change-Id: I06186e8f0bbc8522f538e8639a68e816093becc2
Diffstat (limited to 'sc/source/filter')
-rw-r--r-- | sc/source/filter/xml/XMLTableMasterPageExport.hxx | 2 | ||||
-rw-r--r-- | sc/source/filter/xml/XMLTableShapeResizer.hxx | 2 | ||||
-rw-r--r-- | sc/source/filter/xml/cachedattraccess.hxx | 2 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlcelli.hxx | 4 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlexprt.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlfilti.hxx | 2 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlnexpi.hxx | 2 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlstyle.hxx | 10 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlsubti.hxx | 2 |
9 files changed, 14 insertions, 14 deletions
diff --git a/sc/source/filter/xml/XMLTableMasterPageExport.hxx b/sc/source/filter/xml/XMLTableMasterPageExport.hxx index 33a42186ab10..099cc40079df 100644 --- a/sc/source/filter/xml/XMLTableMasterPageExport.hxx +++ b/sc/source/filter/xml/XMLTableMasterPageExport.hxx @@ -47,7 +47,7 @@ protected: bool bAutoStyles ) override; public: - XMLTableMasterPageExport( ScXMLExport& rExp ); + explicit XMLTableMasterPageExport( ScXMLExport& rExp ); virtual ~XMLTableMasterPageExport(); }; diff --git a/sc/source/filter/xml/XMLTableShapeResizer.hxx b/sc/source/filter/xml/XMLTableShapeResizer.hxx index aec8c79f7593..bead3395fa08 100644 --- a/sc/source/filter/xml/XMLTableShapeResizer.hxx +++ b/sc/source/filter/xml/XMLTableShapeResizer.hxx @@ -47,7 +47,7 @@ class ScMyOLEFixer const OUString& rName, const OUString& rRangeList); public: - ScMyOLEFixer(ScXMLImport& rImport); + explicit ScMyOLEFixer(ScXMLImport& rImport); ~ScMyOLEFixer(); static bool IsOLE(css::uno::Reference< css::drawing::XShape >& rShape); diff --git a/sc/source/filter/xml/cachedattraccess.hxx b/sc/source/filter/xml/cachedattraccess.hxx index 548be156a0d7..6556617d9080 100644 --- a/sc/source/filter/xml/cachedattraccess.hxx +++ b/sc/source/filter/xml/cachedattraccess.hxx @@ -32,7 +32,7 @@ class ScXMLCachedRowAttrAccess }; public: - ScXMLCachedRowAttrAccess(ScDocument* pDoc); + explicit ScXMLCachedRowAttrAccess(ScDocument* pDoc); bool rowHidden(sal_Int32 nTab, sal_Int32 nRow); bool rowFiltered(sal_Int32 nTab, sal_Int32 nRow); diff --git a/sc/source/filter/xml/xmlcelli.hxx b/sc/source/filter/xml/xmlcelli.hxx index e11a07f38803..f302f30c3d26 100644 --- a/sc/source/filter/xml/xmlcelli.hxx +++ b/sc/source/filter/xml/xmlcelli.hxx @@ -44,7 +44,7 @@ class ScXMLTableRowCellContext : public ScXMLImportContext SfxItemSet maItemSet; ESelection maSelection; - ParaFormat(ScEditEngineDefaulter& rEditEngine); + explicit ParaFormat(ScEditEngineDefaulter& rEditEngine); }; struct Field : boost::noncopyable @@ -52,7 +52,7 @@ class ScXMLTableRowCellContext : public ScXMLImportContext SvxFieldData* mpData; ESelection maSelection; - Field(SvxFieldData* pData); + explicit Field(SvxFieldData* pData); ~Field(); }; diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index d4a05529df15..87d5c3d314e5 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -307,7 +307,7 @@ Calc_XMLOasisSettingsExporter_get_implementation(css::uno::XComponentContext* co class ScXMLShapeExport : public XMLShapeExport { public: - ScXMLShapeExport(SvXMLExport& rExp) : XMLShapeExport(rExp) {} + explicit ScXMLShapeExport(SvXMLExport& rExp) : XMLShapeExport(rExp) {} virtual ~ScXMLShapeExport(); /** is called before a shape element for the given XShape is exported */ diff --git a/sc/source/filter/xml/xmlfilti.hxx b/sc/source/filter/xml/xmlfilti.hxx index 5c14bbe49773..e4db602a096b 100644 --- a/sc/source/filter/xml/xmlfilti.hxx +++ b/sc/source/filter/xml/xmlfilti.hxx @@ -44,7 +44,7 @@ class ScXMLFilterContext : public SvXMLImportContext { bool mbOr; int mnCondCount; - ConnStackItem(bool bOr); + explicit ConnStackItem(bool bOr); }; ScQueryParam& mrQueryParam; ScXMLDatabaseRangeContext* pDatabaseRangeContext; diff --git a/sc/source/filter/xml/xmlnexpi.hxx b/sc/source/filter/xml/xmlnexpi.hxx index 5495378eecbd..994a71c6849c 100644 --- a/sc/source/filter/xml/xmlnexpi.hxx +++ b/sc/source/filter/xml/xmlnexpi.hxx @@ -50,7 +50,7 @@ public: class GlobalInserter : public Inserter { public: - GlobalInserter(ScXMLImport& rImport); + explicit GlobalInserter(ScXMLImport& rImport); virtual void insert(ScMyNamedExpression* pExp) override; private: ScXMLImport& mrImport; diff --git a/sc/source/filter/xml/xmlstyle.hxx b/sc/source/filter/xml/xmlstyle.hxx index 7b50eaf3f036..6cff5eff454a 100644 --- a/sc/source/filter/xml/xmlstyle.hxx +++ b/sc/source/filter/xml/xmlstyle.hxx @@ -111,7 +111,7 @@ protected: ::std::vector< XMLPropertyState >& rProperties, css::uno::Reference<css::beans::XPropertySet > rPropSet ) const override; public: - ScXMLCellExportPropertyMapper( + explicit ScXMLCellExportPropertyMapper( const rtl::Reference< XMLPropertySetMapper >& rMapper ); virtual ~ScXMLCellExportPropertyMapper(); virtual void handleElementItem( @@ -140,7 +140,7 @@ protected: ::std::vector< XMLPropertyState >& rProperties, css::uno::Reference<css::beans::XPropertySet > rPropSet ) const override; public: - ScXMLRowExportPropertyMapper( + explicit ScXMLRowExportPropertyMapper( const rtl::Reference< XMLPropertySetMapper >& rMapper ); virtual ~ScXMLRowExportPropertyMapper(); }; @@ -148,7 +148,7 @@ public: class ScXMLColumnExportPropertyMapper : public SvXMLExportPropertyMapper { public: - ScXMLColumnExportPropertyMapper( + explicit ScXMLColumnExportPropertyMapper( const rtl::Reference< XMLPropertySetMapper >& rMapper ); virtual ~ScXMLColumnExportPropertyMapper(); @@ -166,7 +166,7 @@ class ScXMLTableExportPropertyMapper : public SvXMLExportPropertyMapper { protected: public: - ScXMLTableExportPropertyMapper( + explicit ScXMLTableExportPropertyMapper( const rtl::Reference< XMLPropertySetMapper >& rMapper ); virtual ~ScXMLTableExportPropertyMapper(); @@ -203,7 +203,7 @@ class ScXMLAutoStylePoolP : public SvXMLAutoStylePoolP ) const override; public: - ScXMLAutoStylePoolP(ScXMLExport& rScXMLExport); + explicit ScXMLAutoStylePoolP(ScXMLExport& rScXMLExport); virtual ~ScXMLAutoStylePoolP(); }; diff --git a/sc/source/filter/xml/xmlsubti.hxx b/sc/source/filter/xml/xmlsubti.hxx index 5ee58283bbc8..3f9a24929228 100644 --- a/sc/source/filter/xml/xmlsubti.hxx +++ b/sc/source/filter/xml/xmlsubti.hxx @@ -68,7 +68,7 @@ private: void SetTableStyle(const OUString& sStyleName); public: - ScMyTables(ScXMLImport& rImport); + explicit ScMyTables(ScXMLImport& rImport); ~ScMyTables(); void NewSheet(const OUString& sTableName, const OUString& sStyleName, const ScXMLTabProtectionData& rProtectData); |