diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-04 13:52:48 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-11 11:21:25 +0200 |
commit | 03995a6beaaabee40ec8ae718fad309238ca446f (patch) | |
tree | a68b1649ca2e0813cc47d9c3c4fc41134e6e60b5 /chart2/source | |
parent | 1bdb2b6f06c556b9af91dba4f29f3ac73190b09e (diff) |
remove unnecessary use of OUString constructor in CHART2 module
Change-Id: Ic71774a8e6c4ffc8267b940b8b253e4526512435
Diffstat (limited to 'chart2/source')
-rw-r--r-- | chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx | 8 | ||||
-rw-r--r-- | chart2/source/controller/dialogs/res_ErrorBar.cxx | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx b/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx index cbdf23a73731..f45a9b5e0b42 100644 --- a/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx @@ -373,10 +373,10 @@ uno::Sequence< uno::Any > SAL_CALL UpDownBarWrapper::getPropertyDefaults( const Sequence< OUString > UpDownBarWrapper::getSupportedServiceNames_Static() { Sequence< OUString > aServices( 4 ); - aServices[ 0 ] = OUString("com.sun.star.chart.ChartArea"); - aServices[ 1 ] = OUString("com.sun.star.drawing.LineProperties"); - aServices[ 2 ] = OUString("com.sun.star.drawing.FillProperties"); - aServices[ 3 ] = OUString("com.sun.star.xml.UserDefinedAttributesSupplier"); + aServices[ 0 ] = "com.sun.star.chart.ChartArea"; + aServices[ 1 ] = "com.sun.star.drawing.LineProperties"; + aServices[ 2 ] = "com.sun.star.drawing.FillProperties"; + aServices[ 3 ] = "com.sun.star.xml.UserDefinedAttributesSupplier"; return aServices; } diff --git a/chart2/source/controller/dialogs/res_ErrorBar.cxx b/chart2/source/controller/dialogs/res_ErrorBar.cxx index 882331c36d52..38da2fe96c61 100644 --- a/chart2/source/controller/dialogs/res_ErrorBar.cxx +++ b/chart2/source/controller/dialogs/res_ErrorBar.cxx @@ -627,7 +627,7 @@ sal_Bool ErrorBarResources::FillItemSet(SfxItemSet& rOutAttrs) const { // the strings aPosRange/aNegRange have to be set to a non-empty // arbitrary string to generate error-bar sequences - aPosRange = OUString("x"); + aPosRange = "x"; aNegRange = aPosRange; } else |