From caec9ce01ea252e2661b7275da542a41526ff3f6 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 9 Sep 2015 10:50:29 +0300 Subject: WaE: loplugin:stringconstant Fix warning: elide construction of rtl::OUString with string constant argument in call of rtl::OUString::operator=. Change-Id: I5017509c04381fb158da1ceede7c8bef564f1c07 --- chart2/source/view/charttypes/VSeriesPlotter.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chart2/source/view/charttypes/VSeriesPlotter.cxx b/chart2/source/view/charttypes/VSeriesPlotter.cxx index 7a8f1d28f708..e5370ac3ad2e 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); -- cgit v1.2.3