[Libreoffice-commits] core.git: chart2/source
Tor Lillqvist
tml at collabora.com
Wed Sep 9 00:56:20 PDT 2015
chart2/source/view/charttypes/VSeriesPlotter.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit caec9ce01ea252e2661b7275da542a41526ff3f6
Author: Tor Lillqvist <tml at collabora.com>
Date: Wed Sep 9 10:50:29 2015 +0300
WaE: loplugin:stringconstant
Fix warning: elide construction of rtl::OUString with string constant
argument in call of rtl::OUString::operator=.
Change-Id: I5017509c04381fb158da1ceede7c8bef564f1c07
diff --git a/chart2/source/view/charttypes/VSeriesPlotter.cxx b/chart2/source/view/charttypes/VSeriesPlotter.cxx
index 7a8f1d2..e5370ac 100644
--- a/chart2/source/view/charttypes/VSeriesPlotter.cxx
+++ b/chart2/source/view/charttypes/VSeriesPlotter.cxx
@@ -573,9 +573,9 @@ uno::Reference< drawing::XShape > VSeriesPlotter::createDataLabel( const uno::Re
// with the category name
Sequence< tNameSequence > aParaPropNames(3);
aParaPropNames[1].realloc(1);
- aParaPropNames[1][0] = OUString( "ParaAdjust" );
+ aParaPropNames[1][0] = "ParaAdjust";
aParaPropNames[2].realloc(1);
- aParaPropNames[2][0] = OUString( "ParaAdjust" );
+ aParaPropNames[2][0] = "ParaAdjust";
Sequence< tAnySequence > aParaPropValues(3);
aParaPropValues[1].realloc(1);
More information about the Libreoffice-commits
mailing list