summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-09-09 10:50:29 +0300
committerTor Lillqvist <tml@collabora.com>2015-09-09 10:50:29 +0300
commitcaec9ce01ea252e2661b7275da542a41526ff3f6 (patch)
tree32e75be3b02bff2a48b0fe162013972ab35219aa
parent9ed1dd01be8afa0961e388a79e9ff4c1235820c2 (diff)
WaE: loplugin:stringconstant
Fix warning: elide construction of rtl::OUString with string constant argument in call of rtl::OUString::operator=. Change-Id: I5017509c04381fb158da1ceede7c8bef564f1c07
-rw-r--r--chart2/source/view/charttypes/VSeriesPlotter.cxx4
1 files 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);