diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-22 15:17:23 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-23 13:08:48 +0200 |
commit | 7ab8b08b6c8e7eb05e8ec8dde2afbe0940075f36 (patch) | |
tree | 4d00c315e2ebf6d8fe868dfc4f6b0a72c9c6ff8e /chart2/source/model/template | |
parent | 0a7b739cc33a56339a2bf0f8f0253f9402cabd35 (diff) |
loplugin:staticmethods
Change-Id: Iab2f10b000ef41fb090e0034785d4ed0bda4cf43
Diffstat (limited to 'chart2/source/model/template')
16 files changed, 30 insertions, 30 deletions
diff --git a/chart2/source/model/template/AreaChartTypeTemplate.cxx b/chart2/source/model/template/AreaChartTypeTemplate.cxx index f30bbfd157f1..37c6c16a74a9 100644 --- a/chart2/source/model/template/AreaChartTypeTemplate.cxx +++ b/chart2/source/model/template/AreaChartTypeTemplate.cxx @@ -65,7 +65,7 @@ struct StaticAreaChartTypeTemplateDefaults_Initializer return &aStaticDefaults; } private: - void lcl_AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap ) + static void lcl_AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap ) { ::chart::PropertyHelper::setPropertyValueDefault< sal_Int32 >( rOutMap, PROP_AREA_TEMPLATE_DIMENSION, 2 ); } @@ -84,7 +84,7 @@ struct StaticAreaChartTypeTemplateInfoHelper_Initializer } private: - uno::Sequence< Property > lcl_GetPropertySequence() + static uno::Sequence< Property > lcl_GetPropertySequence() { ::std::vector< ::com::sun::star::beans::Property > aProperties; lcl_AddPropertiesToVector( aProperties ); diff --git a/chart2/source/model/template/BarChartTypeTemplate.cxx b/chart2/source/model/template/BarChartTypeTemplate.cxx index 8a504c82002c..971f666a6a5c 100644 --- a/chart2/source/model/template/BarChartTypeTemplate.cxx +++ b/chart2/source/model/template/BarChartTypeTemplate.cxx @@ -72,7 +72,7 @@ struct StaticBarChartTypeTemplateDefaults_Initializer return &aStaticDefaults; } private: - void lcl_AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap ) + static void lcl_AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap ) { ::chart::PropertyHelper::setPropertyValueDefault< sal_Int32 >( rOutMap, PROP_BAR_TEMPLATE_DIMENSION, 2 ); ::chart::PropertyHelper::setPropertyValueDefault( rOutMap, PROP_BAR_TEMPLATE_GEOMETRY3D, ::chart2::DataPointGeometry3D::CUBOID ); @@ -92,7 +92,7 @@ struct StaticBarChartTypeTemplateInfoHelper_Initializer } private: - Sequence< Property > lcl_GetPropertySequence() + static Sequence< Property > lcl_GetPropertySequence() { ::std::vector< ::com::sun::star::beans::Property > aProperties; lcl_AddPropertiesToVector( aProperties ); diff --git a/chart2/source/model/template/BubbleChartType.cxx b/chart2/source/model/template/BubbleChartType.cxx index d5228542adb4..4b494b7943bc 100644 --- a/chart2/source/model/template/BubbleChartType.cxx +++ b/chart2/source/model/template/BubbleChartType.cxx @@ -63,7 +63,7 @@ struct StaticBubbleChartTypeInfoHelper_Initializer } private: - Sequence< Property > lcl_GetPropertySequence() + static Sequence< Property > lcl_GetPropertySequence() { ::std::vector< ::com::sun::star::beans::Property > aProperties; diff --git a/chart2/source/model/template/BubbleChartTypeTemplate.cxx b/chart2/source/model/template/BubbleChartTypeTemplate.cxx index 006e64eb797d..e070942b14c0 100644 --- a/chart2/source/model/template/BubbleChartTypeTemplate.cxx +++ b/chart2/source/model/template/BubbleChartTypeTemplate.cxx @@ -65,7 +65,7 @@ struct StaticBubbleChartTypeTemplateInfoHelper_Initializer } private: - Sequence< Property > lcl_GetPropertySequence() + static Sequence< Property > lcl_GetPropertySequence() { ::std::vector< ::com::sun::star::beans::Property > aProperties; diff --git a/chart2/source/model/template/CandleStickChartType.cxx b/chart2/source/model/template/CandleStickChartType.cxx index d92aaf42e8b2..1d46372591d6 100644 --- a/chart2/source/model/template/CandleStickChartType.cxx +++ b/chart2/source/model/template/CandleStickChartType.cxx @@ -93,7 +93,7 @@ struct StaticCandleStickChartTypeDefaults_Initializer return &aStaticDefaults; } private: - void lcl_AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap ) + static void lcl_AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap ) { // must match default in CTOR! ::chart::PropertyHelper::setPropertyValueDefault( rOutMap, PROP_CANDLESTICKCHARTTYPE_JAPANESE, false ); @@ -115,7 +115,7 @@ struct StaticCandleStickChartTypeInfoHelper_Initializer } private: - Sequence< Property > lcl_GetPropertySequence() + static Sequence< Property > lcl_GetPropertySequence() { ::std::vector< ::com::sun::star::beans::Property > aProperties; lcl_AddPropertiesToVector( aProperties ); diff --git a/chart2/source/model/template/ColumnChartType.cxx b/chart2/source/model/template/ColumnChartType.cxx index 3584a3d61aa9..f11b2a1b77a7 100644 --- a/chart2/source/model/template/ColumnChartType.cxx +++ b/chart2/source/model/template/ColumnChartType.cxx @@ -65,7 +65,7 @@ struct StaticColumnChartTypeDefaults_Initializer return &aStaticDefaults; } private: - void lcl_AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap ) + static void lcl_AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap ) { Sequence< sal_Int32 > aSeq(2); @@ -90,7 +90,7 @@ struct StaticColumnChartTypeInfoHelper_Initializer } private: - Sequence< Property > lcl_GetPropertySequence() + static Sequence< Property > lcl_GetPropertySequence() { ::std::vector< ::com::sun::star::beans::Property > aProperties; lcl_AddPropertiesToVector( aProperties ); diff --git a/chart2/source/model/template/ColumnLineChartTypeTemplate.cxx b/chart2/source/model/template/ColumnLineChartTypeTemplate.cxx index 64375568c233..e44a97ef010d 100644 --- a/chart2/source/model/template/ColumnLineChartTypeTemplate.cxx +++ b/chart2/source/model/template/ColumnLineChartTypeTemplate.cxx @@ -70,7 +70,7 @@ struct StaticColumnLineChartTypeTemplateDefaults_Initializer return &aStaticDefaults; } private: - void lcl_AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap ) + static void lcl_AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap ) { ::chart::PropertyHelper::setPropertyValueDefault< sal_Int32 >( rOutMap, PROP_COL_LINE_NUMBER_OF_LINES, 1 ); } @@ -89,7 +89,7 @@ struct StaticColumnLineChartTypeTemplateInfoHelper_Initializer } private: - uno::Sequence< Property > lcl_GetPropertySequence() + static uno::Sequence< Property > lcl_GetPropertySequence() { ::std::vector< ::com::sun::star::beans::Property > aProperties; lcl_AddPropertiesToVector( aProperties ); diff --git a/chart2/source/model/template/GL3DBarChartType.cxx b/chart2/source/model/template/GL3DBarChartType.cxx index 8141359179de..b4dbd06cfaf9 100644 --- a/chart2/source/model/template/GL3DBarChartType.cxx +++ b/chart2/source/model/template/GL3DBarChartType.cxx @@ -40,7 +40,7 @@ struct DefaultsInitializer } private: - void addDefaults( tPropertyValueMap & rOutMap ) + static void addDefaults( tPropertyValueMap & rOutMap ) { PropertyHelper::setPropertyValueDefault(rOutMap, PROP_GL3DCHARTTYPE_ROUNDED_EDGE, false); } @@ -56,7 +56,7 @@ struct InfoHelperInitializer return &aHelper; } - uno::Sequence<beans::Property> getProperties() + static uno::Sequence<beans::Property> getProperties() { uno::Sequence<beans::Property> aRet(1); diff --git a/chart2/source/model/template/GL3DBarChartTypeTemplate.cxx b/chart2/source/model/template/GL3DBarChartTypeTemplate.cxx index 6ea9e6d77740..51ccde36f3e9 100644 --- a/chart2/source/model/template/GL3DBarChartTypeTemplate.cxx +++ b/chart2/source/model/template/GL3DBarChartTypeTemplate.cxx @@ -43,7 +43,7 @@ struct DefaultsInitializer } private: - void addDefaults( tPropertyValueMap & rOutMap ) + static void addDefaults( tPropertyValueMap & rOutMap ) { PropertyHelper::setPropertyValueDefault(rOutMap, PROP_GL3DCHARTTYPE_ROUNDED_EDGE, false); } @@ -59,7 +59,7 @@ struct InfoHelperInitializer return &aHelper; } - uno::Sequence<beans::Property> getProperties() + static uno::Sequence<beans::Property> getProperties() { uno::Sequence<beans::Property> aRet(1); diff --git a/chart2/source/model/template/LineChartType.cxx b/chart2/source/model/template/LineChartType.cxx index a565baab69c8..553dce43169b 100644 --- a/chart2/source/model/template/LineChartType.cxx +++ b/chart2/source/model/template/LineChartType.cxx @@ -79,7 +79,7 @@ struct StaticLineChartTypeDefaults_Initializer return &aStaticDefaults; } private: - void lcl_AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap ) + static void lcl_AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap ) { ::chart::PropertyHelper::setPropertyValueDefault( rOutMap, PROP_LINECHARTTYPE_CURVE_STYLE, ::chart2::CurveStyle_LINES ); ::chart::PropertyHelper::setPropertyValueDefault< sal_Int32 >( rOutMap, PROP_LINECHARTTYPE_CURVE_RESOLUTION, 20 ); @@ -103,7 +103,7 @@ struct StaticLineChartTypeInfoHelper_Initializer } private: - Sequence< Property > lcl_GetPropertySequence() + static Sequence< Property > lcl_GetPropertySequence() { ::std::vector< ::com::sun::star::beans::Property > aProperties; lcl_AddPropertiesToVector( aProperties ); diff --git a/chart2/source/model/template/LineChartTypeTemplate.cxx b/chart2/source/model/template/LineChartTypeTemplate.cxx index b928eb0cd113..a7c1814a4213 100644 --- a/chart2/source/model/template/LineChartTypeTemplate.cxx +++ b/chart2/source/model/template/LineChartTypeTemplate.cxx @@ -84,7 +84,7 @@ struct StaticLineChartTypeTemplateDefaults_Initializer return &aStaticDefaults; } private: - void lcl_AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap ) + static void lcl_AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap ) { ::chart::PropertyHelper::setPropertyValueDefault( rOutMap, PROP_LINECHARTTYPE_TEMPLATE_CURVE_STYLE, chart2::CurveStyle_LINES ); ::chart::PropertyHelper::setPropertyValueDefault< sal_Int32 >( rOutMap, PROP_LINECHARTTYPE_TEMPLATE_CURVE_RESOLUTION, 20 ); @@ -108,7 +108,7 @@ struct StaticLineChartTypeTemplateInfoHelper_Initializer } private: - Sequence< Property > lcl_GetPropertySequence() + static Sequence< Property > lcl_GetPropertySequence() { ::std::vector< ::com::sun::star::beans::Property > aProperties; lcl_AddPropertiesToVector( aProperties ); diff --git a/chart2/source/model/template/PieChartType.cxx b/chart2/source/model/template/PieChartType.cxx index 683d764bd103..2a6ebf659e0a 100644 --- a/chart2/source/model/template/PieChartType.cxx +++ b/chart2/source/model/template/PieChartType.cxx @@ -71,7 +71,7 @@ struct StaticPieChartTypeDefaults_Initializer return &aStaticDefaults; } private: - void lcl_AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap ) + static void lcl_AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap ) { ::chart::PropertyHelper::setPropertyValueDefault( rOutMap, PROP_PIECHARTTYPE_USE_RINGS, false ); ::chart::PropertyHelper::setPropertyValueDefault< sal_Int32 >( rOutMap, PROP_PIECHARTTYPE_3DRELATIVEHEIGHT, 100 ); @@ -91,7 +91,7 @@ struct StaticPieChartTypeInfoHelper_Initializer } private: - Sequence< Property > lcl_GetPropertySequence() + static Sequence< Property > lcl_GetPropertySequence() { ::std::vector< ::com::sun::star::beans::Property > aProperties; lcl_AddPropertiesToVector( aProperties ); diff --git a/chart2/source/model/template/PieChartTypeTemplate.cxx b/chart2/source/model/template/PieChartTypeTemplate.cxx index 77cd1e85e245..dc337df83490 100644 --- a/chart2/source/model/template/PieChartTypeTemplate.cxx +++ b/chart2/source/model/template/PieChartTypeTemplate.cxx @@ -95,7 +95,7 @@ struct StaticPieChartTypeTemplateDefaults_Initializer return &aStaticDefaults; } private: - void lcl_AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap ) + static void lcl_AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap ) { ::chart::PropertyHelper::setPropertyValueDefault( rOutMap, PROP_PIE_TEMPLATE_OFFSET_MODE, chart2::PieChartOffsetMode_NONE ); ::chart::PropertyHelper::setPropertyValueDefault< double >( rOutMap, PROP_PIE_TEMPLATE_DEFAULT_OFFSET, 0.5 ); @@ -117,7 +117,7 @@ struct StaticPieChartTypeTemplateInfoHelper_Initializer } private: - uno::Sequence< Property > lcl_GetPropertySequence() + static uno::Sequence< Property > lcl_GetPropertySequence() { ::std::vector< ::com::sun::star::beans::Property > aProperties; lcl_AddPropertiesToVector( aProperties ); diff --git a/chart2/source/model/template/ScatterChartType.cxx b/chart2/source/model/template/ScatterChartType.cxx index 2e7b79cd8ff6..106f88f67a07 100644 --- a/chart2/source/model/template/ScatterChartType.cxx +++ b/chart2/source/model/template/ScatterChartType.cxx @@ -83,7 +83,7 @@ struct StaticScatterChartTypeDefaults_Initializer return &aStaticDefaults; } private: - void lcl_AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap ) + static void lcl_AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap ) { ::chart::PropertyHelper::setPropertyValueDefault( rOutMap, PROP_SCATTERCHARTTYPE_CURVE_STYLE, chart2::CurveStyle_LINES ); ::chart::PropertyHelper::setPropertyValueDefault< sal_Int32 >( rOutMap, PROP_SCATTERCHARTTYPE_CURVE_RESOLUTION, 20 ); @@ -107,7 +107,7 @@ struct StaticScatterChartTypeInfoHelper_Initializer } private: - Sequence< Property > lcl_GetPropertySequence() + static Sequence< Property > lcl_GetPropertySequence() { ::std::vector< ::com::sun::star::beans::Property > aProperties; lcl_AddPropertiesToVector( aProperties ); diff --git a/chart2/source/model/template/ScatterChartTypeTemplate.cxx b/chart2/source/model/template/ScatterChartTypeTemplate.cxx index 0c04c417ea5b..781cefd65c28 100644 --- a/chart2/source/model/template/ScatterChartTypeTemplate.cxx +++ b/chart2/source/model/template/ScatterChartTypeTemplate.cxx @@ -86,7 +86,7 @@ struct StaticScatterChartTypeTemplateDefaults_Initializer return &aStaticDefaults; } private: - void lcl_AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap ) + static void lcl_AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap ) { ::chart::PropertyHelper::setPropertyValueDefault( rOutMap, PROP_SCATTERCHARTTYPE_TEMPLATE_CURVE_STYLE, chart2::CurveStyle_LINES ); ::chart::PropertyHelper::setPropertyValueDefault< sal_Int32 >( rOutMap, PROP_SCATTERCHARTTYPE_TEMPLATE_CURVE_RESOLUTION, 20 ); @@ -110,7 +110,7 @@ struct StaticScatterChartTypeTemplateInfoHelper_Initializer } private: - Sequence< Property > lcl_GetPropertySequence() + static Sequence< Property > lcl_GetPropertySequence() { ::std::vector< ::com::sun::star::beans::Property > aProperties; lcl_AddPropertiesToVector( aProperties ); diff --git a/chart2/source/model/template/StockChartTypeTemplate.cxx b/chart2/source/model/template/StockChartTypeTemplate.cxx index 6177bd67deeb..e1f5d9f0d7d8 100644 --- a/chart2/source/model/template/StockChartTypeTemplate.cxx +++ b/chart2/source/model/template/StockChartTypeTemplate.cxx @@ -97,7 +97,7 @@ struct StaticStockChartTypeTemplateDefaults_Initializer return &aStaticDefaults; } private: - void lcl_AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap ) + static void lcl_AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap ) { ::chart::PropertyHelper::setPropertyValueDefault( rOutMap, PROP_STOCKCHARTTYPE_TEMPLATE_VOLUME, false ); ::chart::PropertyHelper::setPropertyValueDefault( rOutMap, PROP_STOCKCHARTTYPE_TEMPLATE_OPEN, false ); @@ -119,7 +119,7 @@ struct StaticStockChartTypeTemplateInfoHelper_Initializer } private: - Sequence< Property > lcl_GetPropertySequence() + static Sequence< Property > lcl_GetPropertySequence() { ::std::vector< ::com::sun::star::beans::Property > aProperties; lcl_AddPropertiesToVector( aProperties ); |