diff options
Diffstat (limited to 'chart2/source/controller')
36 files changed, 70 insertions, 70 deletions
diff --git a/chart2/source/controller/accessibility/AccStatisticsObject.hxx b/chart2/source/controller/accessibility/AccStatisticsObject.hxx index c3f94515f674..9c8fcc7fc85f 100644 --- a/chart2/source/controller/accessibility/AccStatisticsObject.hxx +++ b/chart2/source/controller/accessibility/AccStatisticsObject.hxx @@ -29,7 +29,7 @@ namespace chart class AccStatisticsObject : public AccessibleChartElement { public: - AccStatisticsObject( const AccessibleElementInfo& rAccInfo ); + explicit AccStatisticsObject( const AccessibleElementInfo& rAccInfo ); virtual ~AccStatisticsObject(); diff --git a/chart2/source/controller/chartapiwrapper/AreaWrapper.hxx b/chart2/source/controller/chartapiwrapper/AreaWrapper.hxx index 5bca1016a777..6e28ff50762a 100644 --- a/chart2/source/controller/chartapiwrapper/AreaWrapper.hxx +++ b/chart2/source/controller/chartapiwrapper/AreaWrapper.hxx @@ -47,7 +47,7 @@ class AreaWrapper : public ::cppu::ImplInheritanceHelper3< > { public: - AreaWrapper( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); + explicit AreaWrapper( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); virtual ~AreaWrapper(); /// XServiceInfo declarations diff --git a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx index 9b9e4376bce3..b315e16926f9 100644 --- a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx +++ b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx @@ -46,7 +46,7 @@ namespace wrapper class Chart2ModelContact { public: - Chart2ModelContact( const ::com::sun::star::uno::Reference< + explicit Chart2ModelContact( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext ); virtual ~Chart2ModelContact(); diff --git a/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx b/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx index 1a7c0c28b9c1..8c687ad543cb 100644 --- a/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx @@ -129,7 +129,7 @@ struct lcl_Operator struct lcl_AllOperator : public lcl_Operator { - lcl_AllOperator( const Reference< XChartData >& xDataToApply ) + explicit lcl_AllOperator( const Reference< XChartData >& xDataToApply ) : lcl_Operator() , m_xDataToApply( xDataToApply ) { @@ -176,7 +176,7 @@ struct lcl_AllOperator : public lcl_Operator struct lcl_DataOperator : public lcl_Operator { - lcl_DataOperator( const Sequence< Sequence< double > >& rData ) + explicit lcl_DataOperator( const Sequence< Sequence< double > >& rData ) : lcl_Operator() , m_rData( rData ) { @@ -257,7 +257,7 @@ struct lcl_ComplexRowDescriptionsOperator : public lcl_Operator struct lcl_AnyRowDescriptionsOperator : public lcl_Operator { - lcl_AnyRowDescriptionsOperator( const Sequence< Sequence< uno::Any > >& rAnyRowDescriptions ) + explicit lcl_AnyRowDescriptionsOperator( const Sequence< Sequence< uno::Any > >& rAnyRowDescriptions ) : lcl_Operator() , m_rAnyRowDescriptions( rAnyRowDescriptions ) { @@ -343,7 +343,7 @@ struct lcl_ComplexColumnDescriptionsOperator : public lcl_Operator struct lcl_AnyColumnDescriptionsOperator : public lcl_Operator { - lcl_AnyColumnDescriptionsOperator( const Sequence< Sequence< uno::Any > >& rAnyColumnDescriptions ) + explicit lcl_AnyColumnDescriptionsOperator( const Sequence< Sequence< uno::Any > >& rAnyColumnDescriptions ) : lcl_Operator() , m_rAnyColumnDescriptions( rAnyColumnDescriptions ) { @@ -365,7 +365,7 @@ struct lcl_AnyColumnDescriptionsOperator : public lcl_Operator struct lcl_DateCategoriesOperator : public lcl_Operator { - lcl_DateCategoriesOperator( const Sequence< double >& rDates ) + explicit lcl_DateCategoriesOperator( const Sequence< double >& rDates ) : lcl_Operator() , m_rDates( rDates ) { diff --git a/chart2/source/controller/chartapiwrapper/ChartDataWrapper.hxx b/chart2/source/controller/chartapiwrapper/ChartDataWrapper.hxx index 23671fac3816..f1781ee4651e 100644 --- a/chart2/source/controller/chartapiwrapper/ChartDataWrapper.hxx +++ b/chart2/source/controller/chartapiwrapper/ChartDataWrapper.hxx @@ -48,7 +48,7 @@ class ChartDataWrapper : public MutexContainer, public com::sun::star::lang::XComponent > { public: - ChartDataWrapper( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); + explicit ChartDataWrapper( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); ChartDataWrapper( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact , const ::com::sun::star::uno::Reference< ::com::sun::star::chart::XChartData >& xNewData ); virtual ~ChartDataWrapper(); diff --git a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx index 33c06dcf5b77..e2c2b3add35b 100644 --- a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx @@ -276,7 +276,7 @@ namespace wrapper class WrappedDataSourceLabelsInFirstRowProperty : public WrappedProperty { public: - WrappedDataSourceLabelsInFirstRowProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); + explicit WrappedDataSourceLabelsInFirstRowProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); virtual ~WrappedDataSourceLabelsInFirstRowProperty(); virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const @@ -374,7 +374,7 @@ Any WrappedDataSourceLabelsInFirstRowProperty::getPropertyDefault( const Referen class WrappedDataSourceLabelsInFirstColumnProperty : public WrappedProperty { public: - WrappedDataSourceLabelsInFirstColumnProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); + explicit WrappedDataSourceLabelsInFirstColumnProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); virtual ~WrappedDataSourceLabelsInFirstColumnProperty(); virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const @@ -472,7 +472,7 @@ Any WrappedDataSourceLabelsInFirstColumnProperty::getPropertyDefault( const Refe class WrappedHasLegendProperty : public WrappedProperty { public: - WrappedHasLegendProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); + explicit WrappedHasLegendProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); virtual ~WrappedHasLegendProperty(); virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const @@ -556,7 +556,7 @@ Any WrappedHasLegendProperty::getPropertyDefault( const Reference< beans::XPrope class WrappedHasMainTitleProperty : public WrappedProperty { public: - WrappedHasMainTitleProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); + explicit WrappedHasMainTitleProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); virtual ~WrappedHasMainTitleProperty(); virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const @@ -629,7 +629,7 @@ Any WrappedHasMainTitleProperty::getPropertyDefault( const Reference< beans::XPr class WrappedHasSubTitleProperty : public WrappedProperty { public: - WrappedHasSubTitleProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); + explicit WrappedHasSubTitleProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); virtual ~WrappedHasSubTitleProperty(); virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const diff --git a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx index f9ded24eb6a4..4c6c5b563d28 100644 --- a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx @@ -253,7 +253,7 @@ struct StaticPointWrapperPropertyArray : public rtl::StaticAggregate< Sequence< class WrappedAttachedAxisProperty : public ::chart::WrappedProperty { public: - WrappedAttachedAxisProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); + explicit WrappedAttachedAxisProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); virtual ~WrappedAttachedAxisProperty(); virtual void setPropertyValue( const Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const @@ -367,7 +367,7 @@ Any WrappedSegmentOffsetProperty::convertOuterToInnerValue( const Any& rOuterVal class WrappedLineColorProperty : public WrappedSeriesAreaOrLineProperty { public: - WrappedLineColorProperty( DataSeriesPointWrapper* pDataSeriesPointWrapper ); + explicit WrappedLineColorProperty( DataSeriesPointWrapper* pDataSeriesPointWrapper ); virtual ~WrappedLineColorProperty(); virtual void setPropertyValue( const Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const @@ -428,7 +428,7 @@ Any WrappedLineColorProperty::getPropertyDefault( const Reference< beans::XPrope class WrappedLineStyleProperty : public WrappedSeriesAreaOrLineProperty { public: - WrappedLineStyleProperty( DataSeriesPointWrapper* pDataSeriesPointWrapper ); + explicit WrappedLineStyleProperty( DataSeriesPointWrapper* pDataSeriesPointWrapper ); virtual ~WrappedLineStyleProperty(); virtual void setPropertyValue( const Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const diff --git a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx index 2206607173f1..1fff20bd0862 100644 --- a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx +++ b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx @@ -60,7 +60,7 @@ public: }; //this constructor needs an initialize call afterwards - DataSeriesPointWrapper( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); + explicit DataSeriesPointWrapper( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); DataSeriesPointWrapper( eType eType , sal_Int32 nSeriesIndexInNewAPI diff --git a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx index 3d9112f909aa..0f4216e83beb 100644 --- a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx @@ -1203,7 +1203,7 @@ void SAL_CALL DiagramWrapper::removeEventListener( class WrappedDataRowSourceProperty : public WrappedProperty { public: - WrappedDataRowSourceProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); + explicit WrappedDataRowSourceProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); virtual ~WrappedDataRowSourceProperty(); virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const @@ -1417,7 +1417,7 @@ Any WrappedStackingProperty::getPropertyDefault( const Reference< beans::XProper class WrappedDim3DProperty : public WrappedProperty { public: - WrappedDim3DProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); + explicit WrappedDim3DProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); virtual ~WrappedDim3DProperty(); virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const @@ -1488,7 +1488,7 @@ Any WrappedDim3DProperty::getPropertyDefault( const Reference< beans::XPropertyS class WrappedVerticalProperty : public WrappedProperty { public: - WrappedVerticalProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); + explicit WrappedVerticalProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); virtual ~WrappedVerticalProperty(); virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const @@ -1564,7 +1564,7 @@ Any WrappedVerticalProperty::getPropertyDefault( const Reference< beans::XProper class WrappedNumberOfLinesProperty : public WrappedProperty { public: - WrappedNumberOfLinesProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); + explicit WrappedNumberOfLinesProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); virtual ~WrappedNumberOfLinesProperty(); virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const @@ -1718,7 +1718,7 @@ Any WrappedNumberOfLinesProperty::getPropertyDefault( const Reference< beans::XP class WrappedAttributedDataPointsProperty : public WrappedProperty { public: - WrappedAttributedDataPointsProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); + explicit WrappedAttributedDataPointsProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); virtual ~WrappedAttributedDataPointsProperty(); virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const @@ -1832,7 +1832,7 @@ Any WrappedAttributedDataPointsProperty::getPropertyDefault( const Reference< be class WrappedSolidTypeProperty : public WrappedProperty { public: - WrappedSolidTypeProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); + explicit WrappedSolidTypeProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); virtual ~WrappedSolidTypeProperty(); virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const @@ -1977,7 +1977,7 @@ Any WrappedAutomaticSizeProperty::getPropertyDefault( const Reference< beans::XP class WrappedIncludeHiddenCellsProperty : public WrappedProperty { public: - WrappedIncludeHiddenCellsProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); + explicit WrappedIncludeHiddenCellsProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); virtual ~WrappedIncludeHiddenCellsProperty(); virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const diff --git a/chart2/source/controller/chartapiwrapper/DiagramWrapper.hxx b/chart2/source/controller/chartapiwrapper/DiagramWrapper.hxx index 0b7816053a17..36beaf05a043 100644 --- a/chart2/source/controller/chartapiwrapper/DiagramWrapper.hxx +++ b/chart2/source/controller/chartapiwrapper/DiagramWrapper.hxx @@ -71,7 +71,7 @@ class DiagramWrapper : public cppu::ImplInheritanceHelper< > { public: - DiagramWrapper( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); + explicit DiagramWrapper( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); virtual ~DiagramWrapper(); /// XServiceInfo declarations diff --git a/chart2/source/controller/chartapiwrapper/LegendWrapper.hxx b/chart2/source/controller/chartapiwrapper/LegendWrapper.hxx index 8f76007f0ad8..c0467f9277d2 100644 --- a/chart2/source/controller/chartapiwrapper/LegendWrapper.hxx +++ b/chart2/source/controller/chartapiwrapper/LegendWrapper.hxx @@ -50,7 +50,7 @@ class LegendWrapper : public ::cppu::ImplInheritanceHelper3< , public ReferenceSizePropertyProvider { public: - LegendWrapper( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); + explicit LegendWrapper( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); virtual ~LegendWrapper(); /// XServiceInfo declarations diff --git a/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.hxx b/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.hxx index 33926f442e4d..7fb2f9c116be 100644 --- a/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.hxx +++ b/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.hxx @@ -55,7 +55,7 @@ class MinMaxLineWrapper : public MutexContainer > { public: - MinMaxLineWrapper( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); + explicit MinMaxLineWrapper( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); virtual ~MinMaxLineWrapper(); /// XServiceInfo declarations diff --git a/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx b/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx index bf716954c16a..172c807a73d5 100644 --- a/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx @@ -51,7 +51,7 @@ namespace chart class WrappedTitleStringProperty : public WrappedProperty { public: - WrappedTitleStringProperty( const Reference< uno::XComponentContext >& xContext ); + explicit WrappedTitleStringProperty( const Reference< uno::XComponentContext >& xContext ); virtual ~WrappedTitleStringProperty(); virtual void setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& xInnerPropertySet ) const diff --git a/chart2/source/controller/chartapiwrapper/WrappedAddInProperty.hxx b/chart2/source/controller/chartapiwrapper/WrappedAddInProperty.hxx index 9d84b1fd92bb..64dfaa4f36e4 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedAddInProperty.hxx +++ b/chart2/source/controller/chartapiwrapper/WrappedAddInProperty.hxx @@ -30,7 +30,7 @@ namespace wrapper class WrappedAddInProperty : public WrappedProperty { public: - WrappedAddInProperty( ChartDocumentWrapper& rChartDocumentWrapper ); + explicit WrappedAddInProperty( ChartDocumentWrapper& rChartDocumentWrapper ); virtual ~WrappedAddInProperty(); virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const @@ -46,7 +46,7 @@ private: class WrappedBaseDiagramProperty : public WrappedProperty { public: - WrappedBaseDiagramProperty( ChartDocumentWrapper& rChartDocumentWrapper ); + explicit WrappedBaseDiagramProperty( ChartDocumentWrapper& rChartDocumentWrapper ); virtual ~WrappedBaseDiagramProperty(); virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const @@ -62,7 +62,7 @@ private: class WrappedAdditionalShapesProperty : public WrappedProperty { public: - WrappedAdditionalShapesProperty( ChartDocumentWrapper& rChartDocumentWrapper ); + explicit WrappedAdditionalShapesProperty( ChartDocumentWrapper& rChartDocumentWrapper ); virtual ~WrappedAdditionalShapesProperty(); virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const @@ -78,7 +78,7 @@ private: class WrappedRefreshAddInAllowedProperty : public WrappedProperty { public: - WrappedRefreshAddInAllowedProperty( ChartDocumentWrapper& rChartDocumentWrapper ); + explicit WrappedRefreshAddInAllowedProperty( ChartDocumentWrapper& rChartDocumentWrapper ); virtual ~WrappedRefreshAddInAllowedProperty(); virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const diff --git a/chart2/source/controller/chartapiwrapper/WrappedCharacterHeightProperty.hxx b/chart2/source/controller/chartapiwrapper/WrappedCharacterHeightProperty.hxx index 9e59aab5e0ae..ce15c5cee8a2 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedCharacterHeightProperty.hxx +++ b/chart2/source/controller/chartapiwrapper/WrappedCharacterHeightProperty.hxx @@ -59,7 +59,7 @@ protected: class WrappedCharacterHeightProperty : public WrappedCharacterHeightProperty_Base { public: - WrappedCharacterHeightProperty( ReferenceSizePropertyProvider* pRefSizePropProvider ); + explicit WrappedCharacterHeightProperty( ReferenceSizePropertyProvider* pRefSizePropProvider ); virtual ~WrappedCharacterHeightProperty(); static void addWrappedProperties( std::vector< WrappedProperty* >& rList, ReferenceSizePropertyProvider* pRefSizePropProvider ); @@ -68,14 +68,14 @@ public: class WrappedAsianCharacterHeightProperty : public WrappedCharacterHeightProperty_Base { public: - WrappedAsianCharacterHeightProperty( ReferenceSizePropertyProvider* pRefSizePropProvider ); + explicit WrappedAsianCharacterHeightProperty( ReferenceSizePropertyProvider* pRefSizePropProvider ); virtual ~WrappedAsianCharacterHeightProperty(); }; class WrappedComplexCharacterHeightProperty : public WrappedCharacterHeightProperty_Base { public: - WrappedComplexCharacterHeightProperty( ReferenceSizePropertyProvider* pRefSizePropProvider ); + explicit WrappedComplexCharacterHeightProperty( ReferenceSizePropertyProvider* pRefSizePropProvider ); virtual ~WrappedComplexCharacterHeightProperty(); }; diff --git a/chart2/source/controller/chartapiwrapper/WrappedGapwidthProperty.hxx b/chart2/source/controller/chartapiwrapper/WrappedGapwidthProperty.hxx index 54f284569126..3493bc74cd9a 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedGapwidthProperty.hxx +++ b/chart2/source/controller/chartapiwrapper/WrappedGapwidthProperty.hxx @@ -61,14 +61,14 @@ protected: class WrappedGapwidthProperty : public WrappedBarPositionProperty_Base { public: - WrappedGapwidthProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); + explicit WrappedGapwidthProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); virtual ~WrappedGapwidthProperty(); }; class WrappedBarOverlapProperty : public WrappedBarPositionProperty_Base { public: - WrappedBarOverlapProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); + explicit WrappedBarOverlapProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); virtual ~WrappedBarOverlapProperty(); }; diff --git a/chart2/source/controller/chartapiwrapper/WrappedNumberFormatProperty.hxx b/chart2/source/controller/chartapiwrapper/WrappedNumberFormatProperty.hxx index d721e6b3be37..7939a913abfc 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedNumberFormatProperty.hxx +++ b/chart2/source/controller/chartapiwrapper/WrappedNumberFormatProperty.hxx @@ -34,7 +34,7 @@ class WrappedLinkNumberFormatProperty; class WrappedNumberFormatProperty : public WrappedDirectStateProperty { public: - WrappedNumberFormatProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); + explicit WrappedNumberFormatProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); virtual ~WrappedNumberFormatProperty(); virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const @@ -54,7 +54,7 @@ private: class WrappedLinkNumberFormatProperty : public WrappedDirectStateProperty { public: - WrappedLinkNumberFormatProperty( const boost::shared_ptr<Chart2ModelContact>& pChart2ModelContact ); + explicit WrappedLinkNumberFormatProperty( const boost::shared_ptr<Chart2ModelContact>& pChart2ModelContact ); virtual ~WrappedLinkNumberFormatProperty(); virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const diff --git a/chart2/source/controller/chartapiwrapper/WrappedScaleTextProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedScaleTextProperties.cxx index 5b7c4f4cbab6..2e4d2e26b85c 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedScaleTextProperties.cxx +++ b/chart2/source/controller/chartapiwrapper/WrappedScaleTextProperties.cxx @@ -37,7 +37,7 @@ namespace wrapper class WrappedScaleTextProperty : public WrappedProperty { public: - WrappedScaleTextProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); + explicit WrappedScaleTextProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); virtual ~WrappedScaleTextProperty(); virtual void setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& xInnerPropertySet ) const diff --git a/chart2/source/controller/chartapiwrapper/WrappedSceneProperty.hxx b/chart2/source/controller/chartapiwrapper/WrappedSceneProperty.hxx index f2e7cd3bd5c1..e60741db2f36 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedSceneProperty.hxx +++ b/chart2/source/controller/chartapiwrapper/WrappedSceneProperty.hxx @@ -40,7 +40,7 @@ public: class WrappedD3DTransformMatrixProperty : public WrappedProperty { public: - WrappedD3DTransformMatrixProperty( + explicit WrappedD3DTransformMatrixProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ); virtual ~WrappedD3DTransformMatrixProperty(); diff --git a/chart2/source/controller/chartapiwrapper/WrappedTextRotationProperty.hxx b/chart2/source/controller/chartapiwrapper/WrappedTextRotationProperty.hxx index 09fdb7e34d94..2f42d4ce683d 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedTextRotationProperty.hxx +++ b/chart2/source/controller/chartapiwrapper/WrappedTextRotationProperty.hxx @@ -27,7 +27,7 @@ namespace chart class WrappedTextRotationProperty : public WrappedProperty { public: - WrappedTextRotationProperty( bool bDirectState=false ); + explicit WrappedTextRotationProperty( bool bDirectState=false ); virtual ~WrappedTextRotationProperty(); virtual ::com::sun::star::beans::PropertyState getPropertyState( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyState >& xInnerPropertyState ) const diff --git a/chart2/source/controller/dialogs/DataBrowser.cxx b/chart2/source/controller/dialogs/DataBrowser.cxx index e39213f77bf3..cf01349d2d7f 100644 --- a/chart2/source/controller/dialogs/DataBrowser.cxx +++ b/chart2/source/controller/dialogs/DataBrowser.cxx @@ -101,7 +101,7 @@ namespace impl class SeriesHeaderEdit : public Edit { public: - SeriesHeaderEdit( vcl::Window * pParent ); + explicit SeriesHeaderEdit( vcl::Window * pParent ); virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; void setStartColumn( sal_Int32 nStartColumn ); diff --git a/chart2/source/controller/dialogs/DataBrowserModel.cxx b/chart2/source/controller/dialogs/DataBrowserModel.cxx index e63151e6ee03..d967d6d79808 100644 --- a/chart2/source/controller/dialogs/DataBrowserModel.cxx +++ b/chart2/source/controller/dialogs/DataBrowserModel.cxx @@ -178,7 +178,7 @@ sal_Int32 lcl_getValuesRepresentationIndex( struct lcl_RepresentationsOfLSeqMatch : public ::std::unary_function< Reference< chart2::data::XLabeledDataSequence >, bool > { - lcl_RepresentationsOfLSeqMatch( const Reference< chart2::data::XLabeledDataSequence > & xLSeq ) : + explicit lcl_RepresentationsOfLSeqMatch( const Reference< chart2::data::XLabeledDataSequence > & xLSeq ) : m_aValuesRep( xLSeq.is() ? (xLSeq->getValues().is() ? xLSeq->getValues()->getSourceRangeRepresentation() : OUString()) : OUString() ) @@ -196,7 +196,7 @@ private: struct lcl_RolesOfLSeqMatch : public ::std::unary_function< Reference< chart2::data::XLabeledDataSequence >, bool > { - lcl_RolesOfLSeqMatch( const Reference< chart2::data::XLabeledDataSequence > & xLSeq ) : + explicit lcl_RolesOfLSeqMatch( const Reference< chart2::data::XLabeledDataSequence > & xLSeq ) : m_aRole(DataSeriesHelper::getRole(xLSeq)) {} bool operator() ( const Reference< chart2::data::XLabeledDataSequence > & xLSeq ) @@ -273,7 +273,7 @@ namespace { struct lcl_DataSeriesOfHeaderMatches : public ::std::unary_function< ::chart::DataBrowserModel::tDataHeader, bool > { - lcl_DataSeriesOfHeaderMatches( + explicit lcl_DataSeriesOfHeaderMatches( const Reference< chart2::XDataSeries > & xSeriesToCompareWith ) : m_xSeries( xSeriesToCompareWith ) {} diff --git a/chart2/source/controller/dialogs/dlg_DataSource.cxx b/chart2/source/controller/dialogs/dlg_DataSource.cxx index 046077324a52..8e5547604eb4 100644 --- a/chart2/source/controller/dialogs/dlg_DataSource.cxx +++ b/chart2/source/controller/dialogs/dlg_DataSource.cxx @@ -44,7 +44,7 @@ namespace chart class DocumentChartTypeTemplateProvider : public ChartTypeTemplateProvider { public: - DocumentChartTypeTemplateProvider( + explicit DocumentChartTypeTemplateProvider( const Reference< chart2::XChartDocument > & xDoc ); virtual ~DocumentChartTypeTemplateProvider(); @@ -84,7 +84,7 @@ Reference< chart2::XChartTypeTemplate > DocumentChartTypeTemplateProvider::getCu class DataSourceTabControl : public TabControl { public: - DataSourceTabControl(vcl::Window* pParent); + explicit DataSourceTabControl(vcl::Window* pParent); virtual bool DeactivatePage() SAL_OVERRIDE; diff --git a/chart2/source/controller/dialogs/res_BarGeometry.hxx b/chart2/source/controller/dialogs/res_BarGeometry.hxx index a14cf4a59fa7..168cd4eb7e87 100644 --- a/chart2/source/controller/dialogs/res_BarGeometry.hxx +++ b/chart2/source/controller/dialogs/res_BarGeometry.hxx @@ -29,7 +29,7 @@ namespace chart class BarGeometryResources { public: - BarGeometryResources(VclBuilderContainer* pParent); + explicit BarGeometryResources(VclBuilderContainer* pParent); void Show( bool bShow ); void Enable( bool bEnable ); diff --git a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx index b7f46f26e964..bb96e8576dd2 100644 --- a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx +++ b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx @@ -36,7 +36,7 @@ namespace chart class LightButton : public ImageButton { public: - LightButton( vcl::Window* pParent); + explicit LightButton( vcl::Window* pParent); void switchLightOn(bool bOn); bool isLightOn() const { return m_bLightOn;} diff --git a/chart2/source/controller/dialogs/tp_ChartType.cxx b/chart2/source/controller/dialogs/tp_ChartType.cxx index 75e872c5aa0f..84b9cc2d63bb 100644 --- a/chart2/source/controller/dialogs/tp_ChartType.cxx +++ b/chart2/source/controller/dialogs/tp_ChartType.cxx @@ -45,7 +45,7 @@ using namespace ::com::sun::star::chart2; class Dim3DLookResourceGroup : public ChangingResource { public: - Dim3DLookResourceGroup(VclBuilderContainer* pWindow); + explicit Dim3DLookResourceGroup(VclBuilderContainer* pWindow); void showControls( bool bShow ); @@ -119,7 +119,7 @@ IMPL_LINK_NOARG(Dim3DLookResourceGroup, SelectSchemeHdl) class SortByXValuesResourceGroup : public ChangingResource { public: - SortByXValuesResourceGroup(VclBuilderContainer* pWindow); + explicit SortByXValuesResourceGroup(VclBuilderContainer* pWindow); void showControls( bool bShow ); @@ -165,7 +165,7 @@ IMPL_LINK_NOARG(SortByXValuesResourceGroup, SortByXValuesCheckHdl) class StackingResourceGroup : public ChangingResource { public: - StackingResourceGroup(VclBuilderContainer* pWindow); + explicit StackingResourceGroup(VclBuilderContainer* pWindow); void showControls( bool bShow, bool bShowDeepStacking ); @@ -270,7 +270,7 @@ IMPL_LINK_NOARG(StackingResourceGroup, StackingEnableHdl) class GL3DResourceGroup : public ChangingResource { public: - GL3DResourceGroup( VclBuilderContainer* pWindow ); + explicit GL3DResourceGroup( VclBuilderContainer* pWindow ); void showControls( bool bShow ); void fillControls( const ChartTypeParameter& rParam ); @@ -313,7 +313,7 @@ IMPL_LINK_NOARG( GL3DResourceGroup, SettingChangedHdl ) class SplinePropertiesDialog : public ModalDialog { public: - SplinePropertiesDialog( vcl::Window* pParent ); + explicit SplinePropertiesDialog( vcl::Window* pParent ); virtual ~SplinePropertiesDialog() { disposeOnce(); } virtual void dispose() SAL_OVERRIDE; @@ -406,7 +406,7 @@ IMPL_LINK_NOARG(SplinePropertiesDialog, SplineTypeListBoxHdl) class SteppedPropertiesDialog : public ModalDialog { public: - SteppedPropertiesDialog( vcl::Window* pParent ); + explicit SteppedPropertiesDialog( vcl::Window* pParent ); virtual ~SteppedPropertiesDialog() { disposeOnce(); } virtual void dispose() SAL_OVERRIDE; @@ -488,7 +488,7 @@ void SteppedPropertiesDialog::fillParameter( ChartTypeParameter& rParameter, boo class SplineResourceGroup : public ChangingResource { public: - SplineResourceGroup(VclBuilderContainer* pWindow); + explicit SplineResourceGroup(VclBuilderContainer* pWindow); void showControls( bool bShow ); @@ -641,7 +641,7 @@ IMPL_LINK_NOARG(SplineResourceGroup, SteppedDetailsDialogHdl) class GeometryResourceGroup : public ChangingResource { public: - GeometryResourceGroup(VclBuilderContainer* pWindow); + explicit GeometryResourceGroup(VclBuilderContainer* pWindow); void showControls( bool bShow ); diff --git a/chart2/source/controller/main/ChartController.hxx b/chart2/source/controller/main/ChartController.hxx index 88b5df52f410..1876dbda70ba 100644 --- a/chart2/source/controller/main/ChartController.hxx +++ b/chart2/source/controller/main/ChartController.hxx @@ -145,7 +145,7 @@ class ChartController : public ::cppu::WeakImplHelper12 < public: //no default constructor - ChartController(::com::sun::star::uno::Reference< + explicit ChartController(::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext); virtual ~ChartController(); @@ -458,7 +458,7 @@ private: class TheModel : public RefCountable { public: - TheModel( const ::com::sun::star::uno::Reference< + explicit TheModel( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > & xModel ); virtual ~TheModel(); diff --git a/chart2/source/controller/main/ChartController_Insert.cxx b/chart2/source/controller/main/ChartController_Insert.cxx index e194016abd17..7df062fd08fe 100644 --- a/chart2/source/controller/main/ChartController_Insert.cxx +++ b/chart2/source/controller/main/ChartController_Insert.cxx @@ -70,7 +70,7 @@ namespace struct lcl_InsertMeanValueLine { public: - lcl_InsertMeanValueLine( const uno::Reference< uno::XComponentContext > & xContext ) : + explicit lcl_InsertMeanValueLine( const uno::Reference< uno::XComponentContext > & xContext ) : m_xContext( xContext ) {} diff --git a/chart2/source/controller/main/ChartFrameloader.hxx b/chart2/source/controller/main/ChartFrameloader.hxx index 360f97e01b97..db445c2d8b18 100644 --- a/chart2/source/controller/main/ChartFrameloader.hxx +++ b/chart2/source/controller/main/ChartFrameloader.hxx @@ -47,7 +47,7 @@ private: //no default constructor ChartFrameLoader(){} public: - ChartFrameLoader(::com::sun::star::uno::Reference< + explicit ChartFrameLoader(::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext); virtual ~ChartFrameLoader(); diff --git a/chart2/source/controller/main/CommandDispatch.cxx b/chart2/source/controller/main/CommandDispatch.cxx index 6b060b76f9f1..4886210cce6b 100644 --- a/chart2/source/controller/main/CommandDispatch.cxx +++ b/chart2/source/controller/main/CommandDispatch.cxx @@ -36,7 +36,7 @@ template< class Map > struct lcl_DisposeAndClearAndDeleteMapElement : public ::std::unary_function< typename Map::value_type, void > { - lcl_DisposeAndClearAndDeleteMapElement( const Reference< uno::XInterface > & xEventSource ) : + explicit lcl_DisposeAndClearAndDeleteMapElement( const Reference< uno::XInterface > & xEventSource ) : m_aEvent( xEventSource ) {} void operator() ( typename Map::value_type & rElement ) diff --git a/chart2/source/controller/main/ElementSelector.hxx b/chart2/source/controller/main/ElementSelector.hxx index aa9c182cf6b2..f0eb612e2d7e 100644 --- a/chart2/source/controller/main/ElementSelector.hxx +++ b/chart2/source/controller/main/ElementSelector.hxx @@ -72,7 +72,7 @@ class ElementSelectorToolbarController : public ::svt::ToolboxController , ElementSelectorToolbarController_BASE { public: - ElementSelectorToolbarController( ::com::sun::star::uno::Reference< + explicit ElementSelectorToolbarController( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext ); virtual ~ElementSelectorToolbarController(); diff --git a/chart2/source/controller/main/FeatureCommandDispatchBase.hxx b/chart2/source/controller/main/FeatureCommandDispatchBase.hxx index 684c78b8c09d..92344a192073 100644 --- a/chart2/source/controller/main/FeatureCommandDispatchBase.hxx +++ b/chart2/source/controller/main/FeatureCommandDispatchBase.hxx @@ -50,7 +50,7 @@ struct FeatureState class FeatureCommandDispatchBase: public CommandDispatch { public: - FeatureCommandDispatchBase( const ::com::sun::star::uno::Reference< + explicit FeatureCommandDispatchBase( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext ); virtual ~FeatureCommandDispatchBase(); diff --git a/chart2/source/controller/main/SelectionHelper.hxx b/chart2/source/controller/main/SelectionHelper.hxx index 48d3ea355737..e10acaafc8ea 100644 --- a/chart2/source/controller/main/SelectionHelper.hxx +++ b/chart2/source/controller/main/SelectionHelper.hxx @@ -102,7 +102,7 @@ public: , const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& xChartModel ); - SelectionHelper( SdrObject* pSelectedObj ); + explicit SelectionHelper( SdrObject* pSelectedObj ); virtual ~SelectionHelper(); //MarkHandleProvider: diff --git a/chart2/source/controller/main/ShapeToolbarController.hxx b/chart2/source/controller/main/ShapeToolbarController.hxx index 8bdb1ed096d2..f067e401ccb0 100644 --- a/chart2/source/controller/main/ShapeToolbarController.hxx +++ b/chart2/source/controller/main/ShapeToolbarController.hxx @@ -53,7 +53,7 @@ class ShapeToolbarController : public ::svt::ToolboxController void operator =( const ShapeToolbarController& ) SAL_DELETED_FUNCTION; public: - ShapeToolbarController( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext ); + explicit ShapeToolbarController( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext ); virtual ~ShapeToolbarController(); // ::com::sun::star::uno::XInterface diff --git a/chart2/source/controller/main/UndoActions.hxx b/chart2/source/controller/main/UndoActions.hxx index dc8945da6228..c38bba27b4fb 100644 --- a/chart2/source/controller/main/UndoActions.hxx +++ b/chart2/source/controller/main/UndoActions.hxx @@ -94,7 +94,7 @@ class ShapeUndoElement :public ShapeUndoElement_MBase ,public ShapeUndoElement_TBase { public: - ShapeUndoElement( SdrUndoAction& i_sdrUndoAction ); + explicit ShapeUndoElement( SdrUndoAction& i_sdrUndoAction ); // XUndoAction virtual OUString SAL_CALL getTitle() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/chart2/source/controller/main/UndoGuard.hxx b/chart2/source/controller/main/UndoGuard.hxx index acf3275dd3a4..cd57908f9528 100644 --- a/chart2/source/controller/main/UndoGuard.hxx +++ b/chart2/source/controller/main/UndoGuard.hxx @@ -102,7 +102,7 @@ public: class HiddenUndoContext { public: - HiddenUndoContext( + explicit HiddenUndoContext( const ::com::sun::star::uno::Reference< ::com::sun::star::document::XUndoManager > & i_undoManager ); ~HiddenUndoContext(); |