summaryrefslogtreecommitdiff
path: root/chart2/source/model/template/LineChartTypeTemplate.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-22 15:17:23 +0200
committerNoel Grandin <noel@peralex.com>2015-04-23 13:08:48 +0200
commit7ab8b08b6c8e7eb05e8ec8dde2afbe0940075f36 (patch)
tree4d00c315e2ebf6d8fe868dfc4f6b0a72c9c6ff8e /chart2/source/model/template/LineChartTypeTemplate.cxx
parent0a7b739cc33a56339a2bf0f8f0253f9402cabd35 (diff)
loplugin:staticmethods
Change-Id: Iab2f10b000ef41fb090e0034785d4ed0bda4cf43
Diffstat (limited to 'chart2/source/model/template/LineChartTypeTemplate.cxx')
-rw-r--r--chart2/source/model/template/LineChartTypeTemplate.cxx4
1 files changed, 2 insertions, 2 deletions
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 );