summaryrefslogtreecommitdiff
path: root/chart2/source/model
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/model')
-rw-r--r--chart2/source/model/filter/XMLFilter.cxx4
-rw-r--r--chart2/source/model/inc/XMLFilter.hxx2
-rw-r--r--chart2/source/model/main/Axis.cxx2
-rw-r--r--chart2/source/model/main/CartesianCoordinateSystem.cxx10
-rw-r--r--chart2/source/model/main/ChartModel.cxx2
-rw-r--r--chart2/source/model/main/DataPoint.cxx2
-rw-r--r--chart2/source/model/main/DataSeries.cxx2
-rw-r--r--chart2/source/model/main/Diagram.cxx2
-rw-r--r--chart2/source/model/main/FormattedString.cxx2
-rw-r--r--chart2/source/model/main/GridProperties.cxx2
-rw-r--r--chart2/source/model/main/Legend.cxx2
-rw-r--r--chart2/source/model/main/PageBackground.cxx2
-rw-r--r--chart2/source/model/main/PolarCoordinateSystem.cxx10
-rw-r--r--chart2/source/model/main/Title.cxx2
-rw-r--r--chart2/source/model/template/AreaChartType.cxx4
-rw-r--r--chart2/source/model/template/BarChartType.cxx4
-rw-r--r--chart2/source/model/template/BubbleChartType.cxx6
-rw-r--r--chart2/source/model/template/CandleStickChartType.cxx6
-rw-r--r--chart2/source/model/template/ChartType.cxx2
-rw-r--r--chart2/source/model/template/ChartTypeManager.cxx2
-rw-r--r--chart2/source/model/template/ColumnChartType.cxx4
-rw-r--r--chart2/source/model/template/DataInterpreter.cxx2
-rw-r--r--chart2/source/model/template/FilledNetChartType.cxx4
-rw-r--r--chart2/source/model/template/LineChartType.cxx4
-rw-r--r--chart2/source/model/template/NetChartType.cxx4
-rw-r--r--chart2/source/model/template/PieChartType.cxx4
-rw-r--r--chart2/source/model/template/ScatterChartType.cxx4
27 files changed, 48 insertions, 48 deletions
diff --git a/chart2/source/model/filter/XMLFilter.cxx b/chart2/source/model/filter/XMLFilter.cxx
index ebca2a63bc86..694bba9ec5c6 100644
--- a/chart2/source/model/filter/XMLFilter.cxx
+++ b/chart2/source/model/filter/XMLFilter.cxx
@@ -738,7 +738,7 @@ OUString XMLFilter::getMediaType(bool _bOasis)
OUString SAL_CALL XMLFilter::getImplementationName()
{
- return OUString("com.sun.star.comp.chart2.XMLFilter");
+ return "com.sun.star.comp.chart2.XMLFilter";
}
sal_Bool SAL_CALL XMLFilter::supportsService( const OUString& rServiceName )
@@ -764,7 +764,7 @@ void XMLReportFilterHelper::isOasisFormat(const Sequence< beans::PropertyValue >
}
OUString XMLReportFilterHelper::getMediaType(bool )
{
- return OUString(MIMETYPE_OASIS_OPENDOCUMENT_REPORT_CHART_ASCII);
+ return MIMETYPE_OASIS_OPENDOCUMENT_REPORT_CHART_ASCII;
}
} // namespace chart
diff --git a/chart2/source/model/inc/XMLFilter.hxx b/chart2/source/model/inc/XMLFilter.hxx
index 4f10f1ffbbd4..22b5a40a8077 100644
--- a/chart2/source/model/inc/XMLFilter.hxx
+++ b/chart2/source/model/inc/XMLFilter.hxx
@@ -146,7 +146,7 @@ protected:
virtual OUString SAL_CALL
getImplementationName() override
{
- return OUString( "com.sun.star.comp.chart2.report.XMLFilter" );
+ return "com.sun.star.comp.chart2.report.XMLFilter";
}
// ____ XImporter ____
virtual void SAL_CALL setTargetDocument(
diff --git a/chart2/source/model/main/Axis.cxx b/chart2/source/model/main/Axis.cxx
index 39f44bf4ee5c..b7e19a49e548 100644
--- a/chart2/source/model/main/Axis.cxx
+++ b/chart2/source/model/main/Axis.cxx
@@ -596,7 +596,7 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2( Axis, Axis_Base, ::property::OPropertySet )
// implement XServiceInfo methods basing upon getSupportedServiceNames_Static
OUString SAL_CALL Axis::getImplementationName()
{
- return OUString("com.sun.star.comp.chart2.Axis");
+ return "com.sun.star.comp.chart2.Axis";
}
sal_Bool SAL_CALL Axis::supportsService( const OUString& rServiceName )
diff --git a/chart2/source/model/main/CartesianCoordinateSystem.cxx b/chart2/source/model/main/CartesianCoordinateSystem.cxx
index 4a76823ff1aa..2549720ed0d8 100644
--- a/chart2/source/model/main/CartesianCoordinateSystem.cxx
+++ b/chart2/source/model/main/CartesianCoordinateSystem.cxx
@@ -55,12 +55,12 @@ CartesianCoordinateSystem::~CartesianCoordinateSystem()
// ____ XCoordinateSystem ____
OUString SAL_CALL CartesianCoordinateSystem::getCoordinateSystemType()
{
- return OUString(CHART2_COOSYSTEM_CARTESIAN_SERVICE_NAME);
+ return CHART2_COOSYSTEM_CARTESIAN_SERVICE_NAME;
}
OUString SAL_CALL CartesianCoordinateSystem::getViewServiceName()
{
- return OUString(CHART2_COOSYSTEM_CARTESIAN_VIEW_SERVICE_NAME);
+ return CHART2_COOSYSTEM_CARTESIAN_VIEW_SERVICE_NAME;
}
// ____ XCloneable ____
@@ -72,7 +72,7 @@ uno::Reference< util::XCloneable > SAL_CALL CartesianCoordinateSystem::createClo
// ____ XServiceInfo ____
OUString SAL_CALL CartesianCoordinateSystem::getImplementationName()
{
- return OUString("com.sun.star.comp.chart.CartesianCoordinateSystem");
+ return "com.sun.star.comp.chart.CartesianCoordinateSystem";
}
sal_Bool SAL_CALL CartesianCoordinateSystem::supportsService( const OUString& rServiceName )
@@ -97,7 +97,7 @@ CartesianCoordinateSystem2d::~CartesianCoordinateSystem2d()
// ____ XServiceInfo ____
OUString SAL_CALL CartesianCoordinateSystem2d::getImplementationName()
{
- return OUString("com.sun.star.comp.chart2.CartesianCoordinateSystem2d");
+ return "com.sun.star.comp.chart2.CartesianCoordinateSystem2d";
}
sal_Bool SAL_CALL CartesianCoordinateSystem2d::supportsService( const OUString& rServiceName )
@@ -125,7 +125,7 @@ CartesianCoordinateSystem3d::~CartesianCoordinateSystem3d()
// ____ XServiceInfo ____
OUString SAL_CALL CartesianCoordinateSystem3d::getImplementationName()
{
- return OUString("com.sun.star.comp.chart2.CartesianCoordinateSystem3d");
+ return "com.sun.star.comp.chart2.CartesianCoordinateSystem3d";
}
sal_Bool SAL_CALL CartesianCoordinateSystem3d::supportsService( const OUString& rServiceName )
diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx
index 23af9372f44d..75109a20f79e 100644
--- a/chart2/source/model/main/ChartModel.cxx
+++ b/chart2/source/model/main/ChartModel.cxx
@@ -298,7 +298,7 @@ void ChartModel::impl_adjustAdditionalShapesPositionAndSize( const awt::Size& aV
OUString SAL_CALL ChartModel::getImplementationName()
{
- return OUString(CHART_MODEL_SERVICE_IMPLEMENTATION_NAME);
+ return CHART_MODEL_SERVICE_IMPLEMENTATION_NAME;
}
sal_Bool SAL_CALL ChartModel::supportsService( const OUString& rServiceName )
diff --git a/chart2/source/model/main/DataPoint.cxx b/chart2/source/model/main/DataPoint.cxx
index 8d7e42c0bff5..6e9f6d483ccc 100644
--- a/chart2/source/model/main/DataPoint.cxx
+++ b/chart2/source/model/main/DataPoint.cxx
@@ -270,7 +270,7 @@ IMPLEMENT_FORWARD_XINTERFACE2( DataPoint, DataPoint_Base, ::property::OPropertyS
// implement XServiceInfo methods basing upon getSupportedServiceNames_Static
OUString SAL_CALL DataPoint::getImplementationName()
{
- return OUString("com.sun.star.comp.chart.DataPoint") ;
+ return "com.sun.star.comp.chart.DataPoint" ;
}
sal_Bool SAL_CALL DataPoint::supportsService( const OUString& rServiceName )
diff --git a/chart2/source/model/main/DataSeries.cxx b/chart2/source/model/main/DataSeries.cxx
index 6fdc432a5aab..26226172bf43 100644
--- a/chart2/source/model/main/DataSeries.cxx
+++ b/chart2/source/model/main/DataSeries.cxx
@@ -537,7 +537,7 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2( DataSeries, DataSeries_Base, OPropertySet )
// implement XServiceInfo methods basing upon getSupportedServiceNames_Static
OUString SAL_CALL DataSeries::getImplementationName()
{
- return OUString("com.sun.star.comp.chart.DataSeries");
+ return "com.sun.star.comp.chart.DataSeries";
}
sal_Bool SAL_CALL DataSeries::supportsService( const OUString& rServiceName )
diff --git a/chart2/source/model/main/Diagram.cxx b/chart2/source/model/main/Diagram.cxx
index c41bfe42c981..0b9efc80f794 100644
--- a/chart2/source/model/main/Diagram.cxx
+++ b/chart2/source/model/main/Diagram.cxx
@@ -676,7 +676,7 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2( Diagram, Diagram_Base, ::property::OPropertySe
// implement XServiceInfo methods basing upon getSupportedServiceNames_Static
OUString SAL_CALL Diagram::getImplementationName()
{
- return OUString("com.sun.star.comp.chart2.Diagram");
+ return "com.sun.star.comp.chart2.Diagram";
}
sal_Bool SAL_CALL Diagram::supportsService( const OUString& rServiceName )
diff --git a/chart2/source/model/main/FormattedString.cxx b/chart2/source/model/main/FormattedString.cxx
index f7d34282137b..7ace8d2f4e3c 100644
--- a/chart2/source/model/main/FormattedString.cxx
+++ b/chart2/source/model/main/FormattedString.cxx
@@ -256,7 +256,7 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2( FormattedString, FormattedString_Base, ::prope
// implement XServiceInfo methods basing upon getSupportedServiceNames_Static
OUString SAL_CALL FormattedString::getImplementationName()
{
- return OUString("com.sun.star.comp.chart.FormattedString");
+ return "com.sun.star.comp.chart.FormattedString";
}
sal_Bool SAL_CALL FormattedString::supportsService( const OUString& rServiceName )
diff --git a/chart2/source/model/main/GridProperties.cxx b/chart2/source/model/main/GridProperties.cxx
index a05169c24933..a7fb5be85f6d 100644
--- a/chart2/source/model/main/GridProperties.cxx
+++ b/chart2/source/model/main/GridProperties.cxx
@@ -216,7 +216,7 @@ void GridProperties::firePropertyChangeEvent()
// implement XServiceInfo methods basing upon getSupportedServiceNames_Static
OUString SAL_CALL GridProperties::getImplementationName()
{
- return OUString("com.sun.star.comp.chart2.GridProperties");
+ return "com.sun.star.comp.chart2.GridProperties";
}
sal_Bool SAL_CALL GridProperties::supportsService( const OUString& rServiceName )
diff --git a/chart2/source/model/main/Legend.cxx b/chart2/source/model/main/Legend.cxx
index 6648826caf50..654ccc45cbcd 100644
--- a/chart2/source/model/main/Legend.cxx
+++ b/chart2/source/model/main/Legend.cxx
@@ -268,7 +268,7 @@ Reference< beans::XPropertySetInfo > SAL_CALL Legend::getPropertySetInfo()
// implement XServiceInfo methods basing upon getSupportedServiceNames_Static
OUString SAL_CALL Legend::getImplementationName()
{
- return OUString("com.sun.star.comp.chart2.Legend");
+ return "com.sun.star.comp.chart2.Legend";
}
sal_Bool SAL_CALL Legend::supportsService( const OUString& rServiceName )
diff --git a/chart2/source/model/main/PageBackground.cxx b/chart2/source/model/main/PageBackground.cxx
index 6a0c30d7e566..2dec38051d46 100644
--- a/chart2/source/model/main/PageBackground.cxx
+++ b/chart2/source/model/main/PageBackground.cxx
@@ -199,7 +199,7 @@ void PageBackground::firePropertyChangeEvent()
OUString SAL_CALL PageBackground::getImplementationName()
{
- return OUString("com.sun.star.comp.chart2.PageBackground");
+ return "com.sun.star.comp.chart2.PageBackground";
}
sal_Bool SAL_CALL PageBackground::supportsService( const OUString& rServiceName )
diff --git a/chart2/source/model/main/PolarCoordinateSystem.cxx b/chart2/source/model/main/PolarCoordinateSystem.cxx
index 032ebfa001d3..151f31036e13 100644
--- a/chart2/source/model/main/PolarCoordinateSystem.cxx
+++ b/chart2/source/model/main/PolarCoordinateSystem.cxx
@@ -54,12 +54,12 @@ PolarCoordinateSystem::~PolarCoordinateSystem()
// ____ XCoordinateSystem ____
OUString SAL_CALL PolarCoordinateSystem::getCoordinateSystemType()
{
- return OUString(CHART2_COOSYSTEM_POLAR_SERVICE_NAME);
+ return CHART2_COOSYSTEM_POLAR_SERVICE_NAME;
}
OUString SAL_CALL PolarCoordinateSystem::getViewServiceName()
{
- return OUString(CHART2_COOSYSTEM_POLAR_VIEW_SERVICE_NAME);
+ return CHART2_COOSYSTEM_POLAR_VIEW_SERVICE_NAME;
}
// ____ XCloneable ____
@@ -71,7 +71,7 @@ uno::Reference< util::XCloneable > SAL_CALL PolarCoordinateSystem::createClone()
// ____ XServiceInfo ____
OUString SAL_CALL PolarCoordinateSystem::getImplementationName()
{
- return OUString("com.sun.star.comp.chart.PolarCoordinateSystem");
+ return "com.sun.star.comp.chart.PolarCoordinateSystem";
}
sal_Bool SAL_CALL PolarCoordinateSystem::supportsService( const OUString& rServiceName )
@@ -96,7 +96,7 @@ PolarCoordinateSystem2d::~PolarCoordinateSystem2d()
// ____ XServiceInfo ____
OUString SAL_CALL PolarCoordinateSystem2d::getImplementationName()
{
- return OUString("com.sun.star.comp.chart2.PolarCoordinateSystem2d") ;
+ return "com.sun.star.comp.chart2.PolarCoordinateSystem2d" ;
}
sal_Bool SAL_CALL PolarCoordinateSystem2d::supportsService( const OUString& rServiceName )
@@ -123,7 +123,7 @@ PolarCoordinateSystem3d::~PolarCoordinateSystem3d()
// ____ XServiceInfo ____
OUString SAL_CALL PolarCoordinateSystem3d::getImplementationName()
{
- return OUString("com.sun.star.comp.chart2.PolarCoordinateSystem3d");
+ return "com.sun.star.comp.chart2.PolarCoordinateSystem3d";
}
sal_Bool SAL_CALL PolarCoordinateSystem3d::supportsService( const OUString& rServiceName )
diff --git a/chart2/source/model/main/Title.cxx b/chart2/source/model/main/Title.cxx
index 652b99bc94f6..256199a99b5d 100644
--- a/chart2/source/model/main/Title.cxx
+++ b/chart2/source/model/main/Title.cxx
@@ -355,7 +355,7 @@ void Title::fireModifyEvent()
OUString SAL_CALL Title::getImplementationName()
{
- return OUString("com.sun.star.comp.chart2.Title");
+ return "com.sun.star.comp.chart2.Title";
}
sal_Bool SAL_CALL Title::supportsService( const OUString& rServiceName )
diff --git a/chart2/source/model/template/AreaChartType.cxx b/chart2/source/model/template/AreaChartType.cxx
index fb3131f052dc..947c885cee84 100644
--- a/chart2/source/model/template/AreaChartType.cxx
+++ b/chart2/source/model/template/AreaChartType.cxx
@@ -47,12 +47,12 @@ uno::Reference< util::XCloneable > SAL_CALL AreaChartType::createClone()
// ____ XChartType ____
OUString SAL_CALL AreaChartType::getChartType()
{
- return OUString(CHART2_SERVICE_NAME_CHARTTYPE_AREA);
+ return CHART2_SERVICE_NAME_CHARTTYPE_AREA;
}
OUString SAL_CALL AreaChartType::getImplementationName()
{
- return OUString("com.sun.star.comp.chart.AreaChartType");
+ return "com.sun.star.comp.chart.AreaChartType";
}
sal_Bool SAL_CALL AreaChartType::supportsService( const OUString& rServiceName )
diff --git a/chart2/source/model/template/BarChartType.cxx b/chart2/source/model/template/BarChartType.cxx
index 14c36251efbd..4c5511c100f3 100644
--- a/chart2/source/model/template/BarChartType.cxx
+++ b/chart2/source/model/template/BarChartType.cxx
@@ -48,7 +48,7 @@ uno::Reference< util::XCloneable > SAL_CALL BarChartType::createClone()
// ____ XChartType ____
OUString SAL_CALL BarChartType::getChartType()
{
- return OUString(CHART2_SERVICE_NAME_CHARTTYPE_BAR);
+ return CHART2_SERVICE_NAME_CHARTTYPE_BAR;
}
uno::Sequence< OUString > BarChartType::getSupportedPropertyRoles()
@@ -62,7 +62,7 @@ uno::Sequence< OUString > BarChartType::getSupportedPropertyRoles()
OUString SAL_CALL BarChartType::getImplementationName()
{
- return OUString("com.sun.star.comp.chart.BarChartType");
+ return "com.sun.star.comp.chart.BarChartType";
}
sal_Bool SAL_CALL BarChartType::supportsService( const OUString& rServiceName )
diff --git a/chart2/source/model/template/BubbleChartType.cxx b/chart2/source/model/template/BubbleChartType.cxx
index 185eb7d46704..4abdbb826467 100644
--- a/chart2/source/model/template/BubbleChartType.cxx
+++ b/chart2/source/model/template/BubbleChartType.cxx
@@ -142,7 +142,7 @@ Reference< chart2::XCoordinateSystem > SAL_CALL
OUString SAL_CALL BubbleChartType::getChartType()
{
- return OUString(CHART2_SERVICE_NAME_CHARTTYPE_BUBBLE);
+ return CHART2_SERVICE_NAME_CHARTTYPE_BUBBLE;
}
uno::Sequence< OUString > SAL_CALL BubbleChartType::getSupportedMandatoryRoles()
@@ -165,7 +165,7 @@ uno::Sequence< OUString > SAL_CALL BubbleChartType::getSupportedPropertyRoles()
OUString SAL_CALL BubbleChartType::getRoleOfSequenceForSeriesLabel()
{
- return OUString("values-size");
+ return "values-size";
}
// ____ OPropertySet ____
@@ -192,7 +192,7 @@ uno::Reference< beans::XPropertySetInfo > SAL_CALL BubbleChartType::getPropertyS
OUString SAL_CALL BubbleChartType::getImplementationName()
{
- return OUString("com.sun.star.comp.chart.BubbleChartType");
+ return "com.sun.star.comp.chart.BubbleChartType";
}
sal_Bool SAL_CALL BubbleChartType::supportsService( const OUString& rServiceName )
diff --git a/chart2/source/model/template/CandleStickChartType.cxx b/chart2/source/model/template/CandleStickChartType.cxx
index 50de726e796c..606d51a6c035 100644
--- a/chart2/source/model/template/CandleStickChartType.cxx
+++ b/chart2/source/model/template/CandleStickChartType.cxx
@@ -209,7 +209,7 @@ uno::Reference< util::XCloneable > SAL_CALL CandleStickChartType::createClone()
// ____ XChartType ____
OUString SAL_CALL CandleStickChartType::getChartType()
{
- return OUString(CHART2_SERVICE_NAME_CHARTTYPE_CANDLESTICK);
+ return CHART2_SERVICE_NAME_CHARTTYPE_CANDLESTICK;
}
uno::Sequence< OUString > SAL_CALL CandleStickChartType::getSupportedMandatoryRoles()
@@ -259,7 +259,7 @@ Sequence< OUString > SAL_CALL CandleStickChartType::getSupportedOptionalRoles()
OUString SAL_CALL CandleStickChartType::getRoleOfSequenceForSeriesLabel()
{
- return OUString("values-last");
+ return "values-last";
}
// ____ OPropertySet ____
@@ -314,7 +314,7 @@ void SAL_CALL CandleStickChartType::setFastPropertyValue_NoBroadcast(
OUString SAL_CALL CandleStickChartType::getImplementationName()
{
- return OUString("com.sun.star.comp.chart.CandleStickChartType") ;
+ return "com.sun.star.comp.chart.CandleStickChartType" ;
}
sal_Bool SAL_CALL CandleStickChartType::supportsService( const OUString& rServiceName )
diff --git a/chart2/source/model/template/ChartType.cxx b/chart2/source/model/template/ChartType.cxx
index c863a55ef929..4edda932cfec 100644
--- a/chart2/source/model/template/ChartType.cxx
+++ b/chart2/source/model/template/ChartType.cxx
@@ -116,7 +116,7 @@ Sequence< OUString > SAL_CALL ChartType::getSupportedPropertyRoles()
OUString SAL_CALL ChartType::getRoleOfSequenceForSeriesLabel()
{
- return OUString("values-y");
+ return "values-y";
}
void ChartType::impl_addDataSeriesWithoutNotification(
diff --git a/chart2/source/model/template/ChartTypeManager.cxx b/chart2/source/model/template/ChartTypeManager.cxx
index 3634e075d8d8..c0bcc0a03d33 100644
--- a/chart2/source/model/template/ChartTypeManager.cxx
+++ b/chart2/source/model/template/ChartTypeManager.cxx
@@ -579,7 +579,7 @@ uno::Sequence< OUString > SAL_CALL ChartTypeManager::getAvailableServiceNames()
// ____ XServiceInfo ____
OUString SAL_CALL ChartTypeManager::getImplementationName()
{
- return OUString("com.sun.star.comp.chart.ChartTypeManager");
+ return "com.sun.star.comp.chart.ChartTypeManager";
}
sal_Bool SAL_CALL ChartTypeManager::supportsService( const OUString& rServiceName )
diff --git a/chart2/source/model/template/ColumnChartType.cxx b/chart2/source/model/template/ColumnChartType.cxx
index cc4e5950052e..4cf39ed145de 100644
--- a/chart2/source/model/template/ColumnChartType.cxx
+++ b/chart2/source/model/template/ColumnChartType.cxx
@@ -144,7 +144,7 @@ uno::Reference< util::XCloneable > SAL_CALL ColumnChartType::createClone()
// ____ XChartType ____
OUString SAL_CALL ColumnChartType::getChartType()
{
- return OUString(CHART2_SERVICE_NAME_CHARTTYPE_COLUMN);
+ return CHART2_SERVICE_NAME_CHARTTYPE_COLUMN;
}
uno::Sequence< OUString > ColumnChartType::getSupportedPropertyRoles()
@@ -179,7 +179,7 @@ uno::Reference< beans::XPropertySetInfo > SAL_CALL ColumnChartType::getPropertyS
OUString SAL_CALL ColumnChartType::getImplementationName()
{
- return OUString("com.sun.star.comp.chart.ColumnChartType");
+ return "com.sun.star.comp.chart.ColumnChartType";
}
sal_Bool SAL_CALL ColumnChartType::supportsService( const OUString& rServiceName )
diff --git a/chart2/source/model/template/DataInterpreter.cxx b/chart2/source/model/template/DataInterpreter.cxx
index e90b2f083ace..8fa5ea448bf1 100644
--- a/chart2/source/model/template/DataInterpreter.cxx
+++ b/chart2/source/model/template/DataInterpreter.cxx
@@ -372,7 +372,7 @@ bool DataInterpreter::UseCategoriesAsX( const Sequence< beans::PropertyValue > &
OUString SAL_CALL DataInterpreter::getImplementationName()
{
- return OUString("com.sun.star.comp.chart2.DataInterpreter");
+ return "com.sun.star.comp.chart2.DataInterpreter";
}
sal_Bool SAL_CALL DataInterpreter::supportsService( const OUString& rServiceName )
diff --git a/chart2/source/model/template/FilledNetChartType.cxx b/chart2/source/model/template/FilledNetChartType.cxx
index 7739ab090b11..19e49a2365d0 100644
--- a/chart2/source/model/template/FilledNetChartType.cxx
+++ b/chart2/source/model/template/FilledNetChartType.cxx
@@ -51,12 +51,12 @@ uno::Reference< util::XCloneable > SAL_CALL FilledNetChartType::createClone()
// ____ XChartType ____
OUString SAL_CALL FilledNetChartType::getChartType()
{
- return OUString(CHART2_SERVICE_NAME_CHARTTYPE_FILLED_NET);
+ return CHART2_SERVICE_NAME_CHARTTYPE_FILLED_NET;
}
OUString SAL_CALL FilledNetChartType::getImplementationName()
{
- return OUString("com.sun.star.comp.chart.FilledNetChartType");
+ return "com.sun.star.comp.chart.FilledNetChartType";
}
sal_Bool SAL_CALL FilledNetChartType::supportsService( const OUString& rServiceName )
diff --git a/chart2/source/model/template/LineChartType.cxx b/chart2/source/model/template/LineChartType.cxx
index bf8d8dbe396f..538bf1cb5cf1 100644
--- a/chart2/source/model/template/LineChartType.cxx
+++ b/chart2/source/model/template/LineChartType.cxx
@@ -154,7 +154,7 @@ uno::Reference< util::XCloneable > SAL_CALL LineChartType::createClone()
// ____ XChartType ____
OUString SAL_CALL LineChartType::getChartType()
{
- return OUString(CHART2_SERVICE_NAME_CHARTTYPE_LINE);
+ return CHART2_SERVICE_NAME_CHARTTYPE_LINE;
}
// ____ OPropertySet ____
@@ -180,7 +180,7 @@ uno::Reference< beans::XPropertySetInfo > SAL_CALL LineChartType::getPropertySet
OUString SAL_CALL LineChartType::getImplementationName()
{
- return OUString("com.sun.star.comp.chart.LineChartType");
+ return "com.sun.star.comp.chart.LineChartType";
}
sal_Bool SAL_CALL LineChartType::supportsService( const OUString& rServiceName )
diff --git a/chart2/source/model/template/NetChartType.cxx b/chart2/source/model/template/NetChartType.cxx
index 8099bfa05eb7..95de304b6ae1 100644
--- a/chart2/source/model/template/NetChartType.cxx
+++ b/chart2/source/model/template/NetChartType.cxx
@@ -150,12 +150,12 @@ uno::Reference< util::XCloneable > SAL_CALL NetChartType::createClone()
// ____ XChartType ____
OUString SAL_CALL NetChartType::getChartType()
{
- return OUString(CHART2_SERVICE_NAME_CHARTTYPE_NET);
+ return CHART2_SERVICE_NAME_CHARTTYPE_NET;
}
OUString SAL_CALL NetChartType::getImplementationName()
{
- return OUString("com.sun.star.comp.chart.NetChartType");
+ return "com.sun.star.comp.chart.NetChartType";
}
sal_Bool SAL_CALL NetChartType::supportsService( const OUString& rServiceName )
diff --git a/chart2/source/model/template/PieChartType.cxx b/chart2/source/model/template/PieChartType.cxx
index a05103940355..c18c8d11d376 100644
--- a/chart2/source/model/template/PieChartType.cxx
+++ b/chart2/source/model/template/PieChartType.cxx
@@ -142,7 +142,7 @@ uno::Reference< util::XCloneable > SAL_CALL PieChartType::createClone()
// ____ XChartType ____
OUString SAL_CALL PieChartType::getChartType()
{
- return OUString(CHART2_SERVICE_NAME_CHARTTYPE_PIE);
+ return CHART2_SERVICE_NAME_CHARTTYPE_PIE;
}
Reference< chart2::XCoordinateSystem > SAL_CALL
@@ -213,7 +213,7 @@ uno::Reference< beans::XPropertySetInfo > SAL_CALL PieChartType::getPropertySetI
OUString SAL_CALL PieChartType::getImplementationName()
{
- return OUString("com.sun.star.comp.chart.PieChartType");
+ return "com.sun.star.comp.chart.PieChartType";
}
sal_Bool SAL_CALL PieChartType::supportsService( const OUString& rServiceName )
diff --git a/chart2/source/model/template/ScatterChartType.cxx b/chart2/source/model/template/ScatterChartType.cxx
index fb73766efb75..10798f9bd455 100644
--- a/chart2/source/model/template/ScatterChartType.cxx
+++ b/chart2/source/model/template/ScatterChartType.cxx
@@ -187,7 +187,7 @@ Reference< chart2::XCoordinateSystem > SAL_CALL
OUString SAL_CALL ScatterChartType::getChartType()
{
- return OUString(CHART2_SERVICE_NAME_CHARTTYPE_SCATTER);
+ return CHART2_SERVICE_NAME_CHARTTYPE_SCATTER;
}
uno::Sequence< OUString > SAL_CALL ScatterChartType::getSupportedMandatoryRoles()
@@ -223,7 +223,7 @@ uno::Reference< beans::XPropertySetInfo > SAL_CALL ScatterChartType::getProperty
OUString SAL_CALL ScatterChartType::getImplementationName()
{
- return OUString("com.sun.star.comp.chart.ScatterChartType");
+ return "com.sun.star.comp.chart.ScatterChartType";
}
sal_Bool SAL_CALL ScatterChartType::supportsService( const OUString& rServiceName )