diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-06-01 06:21:08 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-06-01 06:30:58 -0500 |
commit | 0a321bfc804d389fe7e7cfe388a9cbeda8f89f74 (patch) | |
tree | baf1ad724865ffec420275fb35876ffb60150493 /chart2/source | |
parent | f713237cc38fe682f7cd35bd61562a90befbf8eb (diff) |
targeted string re-work
Change-Id: I8e6b9ac1e9382e7dcd51421263e1fb51605565ca
Diffstat (limited to 'chart2/source')
3 files changed, 6 insertions, 7 deletions
diff --git a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx index f85da83f6375..29ae9f82008b 100644 --- a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx @@ -87,8 +87,7 @@ using ::rtl::OUString; namespace { -static const OUString lcl_aServiceName( - RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.comp.chart.Diagram" )); +static const OUString lcl_aServiceName( "com.sun.star.comp.chart.Diagram" ); enum { diff --git a/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx b/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx index 702fff3be2a9..330346f2e189 100644 --- a/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx @@ -389,10 +389,10 @@ uno::Sequence< uno::Any > SAL_CALL UpDownBarWrapper::getPropertyDefaults( const Sequence< OUString > UpDownBarWrapper::getSupportedServiceNames_Static() { Sequence< OUString > aServices( 4 ); - aServices[ 0 ] = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.chart.ChartArea")); - aServices[ 1 ] = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.LineProperties")); - aServices[ 2 ] = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.FillProperties")); - aServices[ 3 ] = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.xml.UserDefinedAttributeSupplier")); + aServices[ 0 ] = ::rtl::OUString("com.sun.star.chart.ChartArea"); + aServices[ 1 ] = ::rtl::OUString("com.sun.star.drawing.LineProperties"); + aServices[ 2 ] = ::rtl::OUString("com.sun.star.drawing.FillProperties"); + aServices[ 3 ] = ::rtl::OUString("com.sun.star.xml.UserDefinedAttributeSupplier"); return aServices; } diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx index 7c4595d5def1..097c05726c3a 100644 --- a/chart2/source/controller/main/ChartController.cxx +++ b/chart2/source/controller/main/ChartController.cxx @@ -346,7 +346,7 @@ APPHELPER_XSERVICEINFO_IMPL(ChartController,CHART_CONTROLLER_SERVICE_IMPLEMENTAT { uno::Sequence< rtl::OUString > aSNS( 2 ); aSNS.getArray()[ 0 ] = CHART_CONTROLLER_SERVICE_NAME; - aSNS.getArray()[ 1 ] = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.frame.Controller" ) ); + aSNS.getArray()[ 1 ] = ::rtl::OUString( "com.sun.star.frame.Controller" ); //// @todo : add additional services if you support any further return aSNS; } |