diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:08:44 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:35:56 +0100 |
commit | 5b736d96ba96d9b40a90188b334c6014d349bdf6 (patch) | |
tree | 526490cc182fc6f99ce437a6cc5b8bd10c78b416 /chart2/source/model | |
parent | 5272bfb329e828092de0f49bebdf9a8ce2a40c5b (diff) |
loplugin:deletedspecial
Change-Id: Ifdbeea8d4e49ae38b843675758fcc29aee974bdf
Diffstat (limited to 'chart2/source/model')
-rw-r--r-- | chart2/source/model/main/DataPointProperties.hxx | 13 | ||||
-rw-r--r-- | chart2/source/model/main/DataSeriesProperties.hxx | 13 |
2 files changed, 8 insertions, 18 deletions
diff --git a/chart2/source/model/main/DataPointProperties.hxx b/chart2/source/model/main/DataPointProperties.hxx index 721e02bf6296..f4fbf0e2d00e 100644 --- a/chart2/source/model/main/DataPointProperties.hxx +++ b/chart2/source/model/main/DataPointProperties.hxx @@ -29,9 +29,8 @@ namespace chart { // implements service DataPointProperties -class DataPointProperties +namespace DataPointProperties { -public: // FastProperty Ids for properties enum { @@ -85,15 +84,11 @@ public: // additionally some properites from ::chart::LineProperties }; - static void AddPropertiesToVector( + void AddPropertiesToVector( ::std::vector< ::com::sun::star::beans::Property > & rOutProperties ); - static void AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap ); - -private: - // not implemented - DataPointProperties(); -}; + void AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap ); +} } // namespace chart diff --git a/chart2/source/model/main/DataSeriesProperties.hxx b/chart2/source/model/main/DataSeriesProperties.hxx index bc7c31306558..0c3a70b6aef6 100644 --- a/chart2/source/model/main/DataSeriesProperties.hxx +++ b/chart2/source/model/main/DataSeriesProperties.hxx @@ -28,9 +28,8 @@ namespace chart { -class DataSeriesProperties +namespace DataSeriesProperties { -public: enum { PROP_DATASERIES_ATTRIBUTED_DATA_POINTS = FAST_PROPERTY_ID_START_DATA_SERIES, @@ -39,15 +38,11 @@ public: PROP_DATASERIES_ATTACHED_AXIS_INDEX }; - static void AddPropertiesToVector( + void AddPropertiesToVector( ::std::vector< ::com::sun::star::beans::Property > & rOutProperties ); - static void AddDefaultsToMap( tPropertyValueMap & rOutMap ); - -private: - // not implemented - DataSeriesProperties(); -}; + void AddDefaultsToMap( tPropertyValueMap & rOutMap ); +} } // namespace chart |