diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-24 20:45:48 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-24 20:58:24 +0100 |
commit | e50698c0ce5fd757d02f68dc5b8dd7ef2bd0cbbf (patch) | |
tree | b189fe1de009f00ebe168881b4d77f467c547195 /xmloff/source/chart | |
parent | cd6ee5de8ef7345ba219f0d50e9e1ee45332e55f (diff) |
cppcheck: noExplicitConstructor
Change-Id: I8c9e970d5c5931de1a7526cbff3de626ef30bd74
Diffstat (limited to 'xmloff/source/chart')
-rw-r--r-- | xmloff/source/chart/ColorPropertySet.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/chart/MultiPropertySetHandler.hxx | 4 | ||||
-rw-r--r-- | xmloff/source/chart/SchXMLAutoStylePoolP.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/chart/SchXMLPlotAreaContext.hxx | 4 | ||||
-rw-r--r-- | xmloff/source/chart/SchXMLTableContext.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/chart/XMLAxisPositionPropertyHdl.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/chart/XMLErrorIndicatorPropertyHdl.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/chart/XMLSymbolTypePropertyHdl.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/chart/transporttypes.hxx | 2 |
9 files changed, 11 insertions, 11 deletions
diff --git a/xmloff/source/chart/ColorPropertySet.cxx b/xmloff/source/chart/ColorPropertySet.cxx index 695351d1ac22..b8ff05c7e8d2 100644 --- a/xmloff/source/chart/ColorPropertySet.cxx +++ b/xmloff/source/chart/ColorPropertySet.cxx @@ -36,7 +36,7 @@ class lcl_ColorPropertySetInfo : public ::cppu::WeakImplHelper1< XPropertySetInfo > { public: - lcl_ColorPropertySetInfo( bool bFillColor ); + explicit lcl_ColorPropertySetInfo( bool bFillColor ); protected: // ____ XPropertySetInfo ____ diff --git a/xmloff/source/chart/MultiPropertySetHandler.hxx b/xmloff/source/chart/MultiPropertySetHandler.hxx index 0991e675c25f..34252b5c3736 100644 --- a/xmloff/source/chart/MultiPropertySetHandler.hxx +++ b/xmloff/source/chart/MultiPropertySetHandler.hxx @@ -45,7 +45,7 @@ public: /** @descr Create a class instance and store the given name. @param rName The name of the property. */ - PropertyWrapperBase (const OUString & rName) + explicit PropertyWrapperBase (const OUString & rName) : msName (rName) {} virtual ~PropertyWrapperBase() @@ -121,7 +121,7 @@ public: not necessarily XPropertySet or XMultiPropertySet. It is casted later to one of the two of them. */ - MultiPropertySetHandler (::com::sun::star::uno::Reference< + explicit MultiPropertySetHandler (::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface> xObject); ~MultiPropertySetHandler(); /** @descr Add a property to handle. The type given implicitly by the diff --git a/xmloff/source/chart/SchXMLAutoStylePoolP.hxx b/xmloff/source/chart/SchXMLAutoStylePoolP.hxx index 512fd696ad03..ad8916852a3a 100644 --- a/xmloff/source/chart/SchXMLAutoStylePoolP.hxx +++ b/xmloff/source/chart/SchXMLAutoStylePoolP.hxx @@ -38,7 +38,7 @@ protected: ) const SAL_OVERRIDE; public: - SchXMLAutoStylePoolP( SchXMLExport& rSchXMLExport ); + explicit SchXMLAutoStylePoolP( SchXMLExport& rSchXMLExport ); virtual ~SchXMLAutoStylePoolP(); }; diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.hxx b/xmloff/source/chart/SchXMLPlotAreaContext.hxx index 3ba899091b7f..6f3fad5328c8 100644 --- a/xmloff/source/chart/SchXMLPlotAreaContext.hxx +++ b/xmloff/source/chart/SchXMLPlotAreaContext.hxx @@ -45,7 +45,7 @@ namespace com { namespace sun { namespace star { class SchXML3DSceneAttributesHelper : public SdXML3DSceneAttributesHelper { public: - SchXML3DSceneAttributesHelper( SvXMLImport& rImporter ); + explicit SchXML3DSceneAttributesHelper( SvXMLImport& rImporter ); virtual ~SchXML3DSceneAttributesHelper(); void getCameraDefaultFromDiagram( const ::com::sun::star::uno::Reference< com::sun::star::chart::XDiagram >& xDiagram ); @@ -57,7 +57,7 @@ private: class SchXMLPositonAttributesHelper { public: - SchXMLPositonAttributesHelper( SvXMLImport& rImporter ); + explicit SchXMLPositonAttributesHelper( SvXMLImport& rImporter ); ~SchXMLPositonAttributesHelper(); bool readPositioningAttribute( sal_uInt16 nPrefix, const OUString& rLocalName, const OUString& rValue ); diff --git a/xmloff/source/chart/SchXMLTableContext.cxx b/xmloff/source/chart/SchXMLTableContext.cxx index df2a6d726a1e..d129944c297c 100644 --- a/xmloff/source/chart/SchXMLTableContext.cxx +++ b/xmloff/source/chart/SchXMLTableContext.cxx @@ -65,7 +65,7 @@ typedef ::std::multimap< OUString, OUString > struct lcl_ApplyCellToData : public ::std::unary_function< SchXMLCell, void > { - lcl_ApplyCellToData( Sequence< double > & rOutData ) : + explicit lcl_ApplyCellToData( Sequence< double > & rOutData ) : m_rData( rOutData ), m_nIndex( 0 ), m_nSize( rOutData.getLength()), diff --git a/xmloff/source/chart/XMLAxisPositionPropertyHdl.hxx b/xmloff/source/chart/XMLAxisPositionPropertyHdl.hxx index b7dd5574ec6f..29175b669dd2 100644 --- a/xmloff/source/chart/XMLAxisPositionPropertyHdl.hxx +++ b/xmloff/source/chart/XMLAxisPositionPropertyHdl.hxx @@ -24,7 +24,7 @@ class XMLAxisPositionPropertyHdl : public XMLPropertyHandler { public: - XMLAxisPositionPropertyHdl( bool bCrossingValue ); + explicit XMLAxisPositionPropertyHdl( bool bCrossingValue ); virtual ~XMLAxisPositionPropertyHdl(); virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const SAL_OVERRIDE; diff --git a/xmloff/source/chart/XMLErrorIndicatorPropertyHdl.hxx b/xmloff/source/chart/XMLErrorIndicatorPropertyHdl.hxx index 2ff296d258de..a5e65185c7a0 100644 --- a/xmloff/source/chart/XMLErrorIndicatorPropertyHdl.hxx +++ b/xmloff/source/chart/XMLErrorIndicatorPropertyHdl.hxx @@ -27,7 +27,7 @@ private: bool mbUpperIndicator; public: - XMLErrorIndicatorPropertyHdl( bool bUpper ) : mbUpperIndicator( bUpper ) + explicit XMLErrorIndicatorPropertyHdl( bool bUpper ) : mbUpperIndicator( bUpper ) {} virtual ~XMLErrorIndicatorPropertyHdl(); diff --git a/xmloff/source/chart/XMLSymbolTypePropertyHdl.hxx b/xmloff/source/chart/XMLSymbolTypePropertyHdl.hxx index 59fbf06d5ed2..48a7cfecaa08 100644 --- a/xmloff/source/chart/XMLSymbolTypePropertyHdl.hxx +++ b/xmloff/source/chart/XMLSymbolTypePropertyHdl.hxx @@ -24,7 +24,7 @@ class XMLSymbolTypePropertyHdl : public XMLPropertyHandler { public: - XMLSymbolTypePropertyHdl( bool bIsNamedSymbol ); + explicit XMLSymbolTypePropertyHdl( bool bIsNamedSymbol ); virtual ~XMLSymbolTypePropertyHdl(); virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const SAL_OVERRIDE; diff --git a/xmloff/source/chart/transporttypes.hxx b/xmloff/source/chart/transporttypes.hxx index 15831c02a480..cea1ece5cdff 100644 --- a/xmloff/source/chart/transporttypes.hxx +++ b/xmloff/source/chart/transporttypes.hxx @@ -127,7 +127,7 @@ struct SchXMLAxis struct GlobalSeriesImportInfo { - GlobalSeriesImportInfo( bool& rAllRangeAddressesAvailable ) + explicit GlobalSeriesImportInfo( bool& rAllRangeAddressesAvailable ) : rbAllRangeAddressesAvailable( rAllRangeAddressesAvailable ) , nCurrentDataIndex( 0 ) , nFirstFirstDomainIndex( -1 ) |