diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-09 10:36:39 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-12-09 12:55:38 +0200 |
commit | feb92a5f3ca44a69e07eb29c23bd0d4010e2fd53 (patch) | |
tree | 2214d6ce652abcee1d0c06d85f6f7cecfc6a4c0c /chart2 | |
parent | c227d963d8ea84445ef9617d30ac24092d33b92f (diff) |
inline some strings, they don't need to be in a shared header file
Change-Id: I058489d207510024ce722c4d03f9aac628b120b5
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/inc/servicenames_coosystems.hxx | 6 | ||||
-rw-r--r-- | chart2/source/model/main/CartesianCoordinateSystem.cxx | 3 | ||||
-rw-r--r-- | chart2/source/model/main/PolarCoordinateSystem.cxx | 3 |
3 files changed, 8 insertions, 4 deletions
diff --git a/chart2/source/inc/servicenames_coosystems.hxx b/chart2/source/inc/servicenames_coosystems.hxx index bc43f651dd72..17648619948b 100644 --- a/chart2/source/inc/servicenames_coosystems.hxx +++ b/chart2/source/inc/servicenames_coosystems.hxx @@ -22,10 +22,8 @@ namespace chart { -#define CHART2_COOSYSTEM_CARTESIAN_SERVICE_NAME OUString( "com.sun.star.chart2.CoordinateSystems.Cartesian" ) -#define CHART2_COOSYSTEM_CARTESIAN_VIEW_SERVICE_NAME OUString( "com.sun.star.chart2.CoordinateSystems.CartesianView" ) -#define CHART2_COOSYSTEM_POLAR_SERVICE_NAME OUString( "com.sun.star.chart2.CoordinateSystems.Polar" ) -#define CHART2_COOSYSTEM_POLAR_VIEW_SERVICE_NAME OUString( "com.sun.star.chart2.CoordinateSystems.PolarView" ) +#define CHART2_COOSYSTEM_CARTESIAN_VIEW_SERVICE_NAME "com.sun.star.chart2.CoordinateSystems.CartesianView" +#define CHART2_COOSYSTEM_POLAR_VIEW_SERVICE_NAME "com.sun.star.chart2.CoordinateSystems.PolarView" } //namespace chart #endif diff --git a/chart2/source/model/main/CartesianCoordinateSystem.cxx b/chart2/source/model/main/CartesianCoordinateSystem.cxx index 34db0f20e953..c6ad005ebba7 100644 --- a/chart2/source/model/main/CartesianCoordinateSystem.cxx +++ b/chart2/source/model/main/CartesianCoordinateSystem.cxx @@ -36,6 +36,9 @@ static const char lcl_aServiceNameCartesian3d[] = "com.sun.star.chart2.Cartesian static const char lcl_aImplementationNameCartesian2d[] = "com.sun.star.comp.chart2.CartesianCoordinateSystem2d"; static const char lcl_aImplementationNameCartesian3d[] = "com.sun.star.comp.chart2.CartesianCoordinateSystem3d"; + +static const char CHART2_COOSYSTEM_CARTESIAN_SERVICE_NAME[] = "com.sun.star.chart2.CoordinateSystems.Cartesian"; + } namespace chart diff --git a/chart2/source/model/main/PolarCoordinateSystem.cxx b/chart2/source/model/main/PolarCoordinateSystem.cxx index 2ccf17506803..08bed1e3046b 100644 --- a/chart2/source/model/main/PolarCoordinateSystem.cxx +++ b/chart2/source/model/main/PolarCoordinateSystem.cxx @@ -36,6 +36,9 @@ static const char lcl_aServiceNamePolar3d[] = "com.sun.star.chart2.PolarCoordina static const char lcl_aImplementationNamePolar2d[] = "com.sun.star.comp.chart2.PolarCoordinateSystem2d"; static const char lcl_aImplementationNamePolar3d[] = "com.sun.star.comp.chart2.PolarCoordinateSystem3d"; + +static const char CHART2_COOSYSTEM_POLAR_SERVICE_NAME[] = "com.sun.star.chart2.CoordinateSystems.Polar"; + } namespace chart |