diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-08 09:29:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-08 11:14:38 +0100 |
commit | 0f71828a9582f241dcddac5fe9a11fdf3a1a4e1c (patch) | |
tree | 75cb6a18fd360d7b2e53f4048a56b2e79e8499c8 /chart2/source/model | |
parent | f6e5a0ac09eb1b02caf62980e4caaf3f239b9ca7 (diff) |
cppcheck: noExplicitConstructor
Change-Id: I8b03c27188b02c3c4a9a9fbbe0df1fb1ae1c5caf
Diffstat (limited to 'chart2/source/model')
19 files changed, 20 insertions, 20 deletions
diff --git a/chart2/source/model/main/Axis.hxx b/chart2/source/model/main/Axis.hxx index faefe367330f..506c60f7f229 100644 --- a/chart2/source/model/main/Axis.hxx +++ b/chart2/source/model/main/Axis.hxx @@ -54,7 +54,7 @@ class Axis : public ::property::OPropertySet { public: - Axis( ::com::sun::star::uno::Reference< + explicit Axis( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext ); virtual ~Axis(); diff --git a/chart2/source/model/main/ChartModel_Persistence.cxx b/chart2/source/model/main/ChartModel_Persistence.cxx index 2535c7506372..ce6d69c4ca39 100644 --- a/chart2/source/model/main/ChartModel_Persistence.cxx +++ b/chart2/source/model/main/ChartModel_Persistence.cxx @@ -64,7 +64,7 @@ namespace { struct lcl_PropNameEquals : public ::std::unary_function< beans::PropertyValue, bool > { - lcl_PropNameEquals( const OUString & rStrToCompareWith ) : + explicit lcl_PropNameEquals( const OUString & rStrToCompareWith ) : m_aStr( rStrToCompareWith ) {} bool operator() ( const beans::PropertyValue & rProp ) diff --git a/chart2/source/model/main/DataPoint.hxx b/chart2/source/model/main/DataPoint.hxx index d7c8e6ed1177..c123492e902b 100644 --- a/chart2/source/model/main/DataPoint.hxx +++ b/chart2/source/model/main/DataPoint.hxx @@ -51,7 +51,7 @@ class DataPoint : public ::property::OPropertySet { public: - DataPoint( const ::com::sun::star::uno::Reference< + explicit DataPoint( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > & rParentProperties ); virtual ~DataPoint(); diff --git a/chart2/source/model/main/FormattedString.hxx b/chart2/source/model/main/FormattedString.hxx index a8d95a8f8d09..38c74b225cbf 100644 --- a/chart2/source/model/main/FormattedString.hxx +++ b/chart2/source/model/main/FormattedString.hxx @@ -49,7 +49,7 @@ class FormattedString : public ::property::OPropertySet { public: - FormattedString( css::uno::Reference< + explicit FormattedString( css::uno::Reference< css::uno::XComponentContext > const & xContext ); virtual ~FormattedString(); diff --git a/chart2/source/model/main/GridProperties.hxx b/chart2/source/model/main/GridProperties.hxx index d9ce4aaa2bf6..7124899637cf 100644 --- a/chart2/source/model/main/GridProperties.hxx +++ b/chart2/source/model/main/GridProperties.hxx @@ -51,7 +51,7 @@ class GridProperties : public ::property::OPropertySet { public: - GridProperties( ::com::sun::star::uno::Reference< + explicit GridProperties( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext ); explicit GridProperties(); virtual ~GridProperties(); diff --git a/chart2/source/model/main/Legend.hxx b/chart2/source/model/main/Legend.hxx index a5a297bab7ec..f95d906bbcb4 100644 --- a/chart2/source/model/main/Legend.hxx +++ b/chart2/source/model/main/Legend.hxx @@ -51,7 +51,7 @@ class Legend : public ::property::OPropertySet { public: - Legend( ::com::sun::star::uno::Reference< + explicit Legend( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext ); virtual ~Legend(); diff --git a/chart2/source/model/main/PageBackground.hxx b/chart2/source/model/main/PageBackground.hxx index 1cdb8170b58d..e91011a81667 100644 --- a/chart2/source/model/main/PageBackground.hxx +++ b/chart2/source/model/main/PageBackground.hxx @@ -48,7 +48,7 @@ class PageBackground : public ::property::OPropertySet { public: - PageBackground( const ::com::sun::star::uno::Reference< + explicit PageBackground( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & xContext ); virtual ~PageBackground(); diff --git a/chart2/source/model/main/Title.hxx b/chart2/source/model/main/Title.hxx index 5d55dfe5935b..127cb31ce33c 100644 --- a/chart2/source/model/main/Title.hxx +++ b/chart2/source/model/main/Title.hxx @@ -49,7 +49,7 @@ class Title : public ::property::OPropertySet { public: - Title( ::com::sun::star::uno::Reference< + explicit Title( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext ); virtual ~Title(); diff --git a/chart2/source/model/main/UndoManager.cxx b/chart2/source/model/main/UndoManager.cxx index 5422ad84dde4..3ee731e7060e 100644 --- a/chart2/source/model/main/UndoManager.cxx +++ b/chart2/source/model/main/UndoManager.cxx @@ -142,7 +142,7 @@ namespace chart class UndoManagerMethodGuard : public ::framework::IMutexGuard { public: - UndoManagerMethodGuard( UndoManager_Impl& i_impl ) + explicit UndoManagerMethodGuard( UndoManager_Impl& i_impl ) { ::osl::MutexGuard aGuard( i_impl.getMutex() ); // throw if the instance is already disposed diff --git a/chart2/source/model/template/AreaChartType.hxx b/chart2/source/model/template/AreaChartType.hxx index 21d17a3d2ac5..c58c84ee4517 100644 --- a/chart2/source/model/template/AreaChartType.hxx +++ b/chart2/source/model/template/AreaChartType.hxx @@ -27,7 +27,7 @@ namespace chart class AreaChartType : public ChartType { public: - AreaChartType( + explicit AreaChartType( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext ); virtual ~AreaChartType(); diff --git a/chart2/source/model/template/BarChartType.hxx b/chart2/source/model/template/BarChartType.hxx index 5000022475dd..97ffcb3b3aba 100644 --- a/chart2/source/model/template/BarChartType.hxx +++ b/chart2/source/model/template/BarChartType.hxx @@ -27,7 +27,7 @@ namespace chart class BarChartType : public ChartType { public: - BarChartType( + explicit BarChartType( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext ); virtual ~BarChartType(); diff --git a/chart2/source/model/template/BubbleChartType.hxx b/chart2/source/model/template/BubbleChartType.hxx index 0e8456b75183..8c6015db7ec4 100644 --- a/chart2/source/model/template/BubbleChartType.hxx +++ b/chart2/source/model/template/BubbleChartType.hxx @@ -28,7 +28,7 @@ namespace chart class BubbleChartType : public ChartType { public: - BubbleChartType( + explicit BubbleChartType( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext ); virtual ~BubbleChartType(); diff --git a/chart2/source/model/template/CandleStickChartType.hxx b/chart2/source/model/template/CandleStickChartType.hxx index 7a5ade0bfc06..ee3c007b4a4d 100644 --- a/chart2/source/model/template/CandleStickChartType.hxx +++ b/chart2/source/model/template/CandleStickChartType.hxx @@ -27,7 +27,7 @@ namespace chart class CandleStickChartType : public ChartType { public: - CandleStickChartType( + explicit CandleStickChartType( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext ); virtual ~CandleStickChartType(); diff --git a/chart2/source/model/template/ColumnChartType.hxx b/chart2/source/model/template/ColumnChartType.hxx index 1f35e279ccc1..97e253d6ef16 100644 --- a/chart2/source/model/template/ColumnChartType.hxx +++ b/chart2/source/model/template/ColumnChartType.hxx @@ -27,7 +27,7 @@ namespace chart class ColumnChartType : public ChartType { public: - ColumnChartType( + explicit ColumnChartType( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext ); virtual ~ColumnChartType(); diff --git a/chart2/source/model/template/DataInterpreter.cxx b/chart2/source/model/template/DataInterpreter.cxx index 5db7d6655344..52be707a66a9 100644 --- a/chart2/source/model/template/DataInterpreter.cxx +++ b/chart2/source/model/template/DataInterpreter.cxx @@ -221,7 +221,7 @@ namespace struct lcl_LabeledSequenceEquals : public std::unary_function< Reference< data::XLabeledDataSequence >, bool > { - lcl_LabeledSequenceEquals( const Reference< data::XLabeledDataSequence > & xLSeqToCmp ) : + explicit lcl_LabeledSequenceEquals( const Reference< data::XLabeledDataSequence > & xLSeqToCmp ) : m_bHasLabels ( false ), m_bHasValues ( false ) { diff --git a/chart2/source/model/template/FilledNetChartType.hxx b/chart2/source/model/template/FilledNetChartType.hxx index 65ce78fbd6d3..d74e6a2ee240 100644 --- a/chart2/source/model/template/FilledNetChartType.hxx +++ b/chart2/source/model/template/FilledNetChartType.hxx @@ -27,7 +27,7 @@ namespace chart class FilledNetChartType : public NetChartType_Base { public: - FilledNetChartType( ::com::sun::star::uno::Reference< + explicit FilledNetChartType( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext ); virtual ~FilledNetChartType(); diff --git a/chart2/source/model/template/GL3DBarChartType.hxx b/chart2/source/model/template/GL3DBarChartType.hxx index 3ea07b82da6d..3a415214fee9 100644 --- a/chart2/source/model/template/GL3DBarChartType.hxx +++ b/chart2/source/model/template/GL3DBarChartType.hxx @@ -21,7 +21,7 @@ namespace chart { class GL3DBarChartType : public ChartType { public: - GL3DBarChartType( const css::uno::Reference<css::uno::XComponentContext>& xContext ); + explicit GL3DBarChartType( const css::uno::Reference<css::uno::XComponentContext>& xContext ); virtual ~GL3DBarChartType(); virtual com::sun::star::uno::Sequence< OUString > SAL_CALL diff --git a/chart2/source/model/template/LineChartType.hxx b/chart2/source/model/template/LineChartType.hxx index 1628947cf680..c6428c241025 100644 --- a/chart2/source/model/template/LineChartType.hxx +++ b/chart2/source/model/template/LineChartType.hxx @@ -28,7 +28,7 @@ namespace chart class LineChartType : public ChartType { public: - LineChartType( + explicit LineChartType( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext ); virtual ~LineChartType(); diff --git a/chart2/source/model/template/NetChartType.hxx b/chart2/source/model/template/NetChartType.hxx index 32152edbd9f1..ac75c4c557da 100644 --- a/chart2/source/model/template/NetChartType.hxx +++ b/chart2/source/model/template/NetChartType.hxx @@ -27,7 +27,7 @@ namespace chart class NetChartType_Base : public ChartType { public: - NetChartType_Base( ::com::sun::star::uno::Reference< + explicit NetChartType_Base( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext ); virtual ~NetChartType_Base(); @@ -55,7 +55,7 @@ protected: class NetChartType : public NetChartType_Base { public: - NetChartType( ::com::sun::star::uno::Reference< + explicit NetChartType( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext ); virtual ~NetChartType(); |