summaryrefslogtreecommitdiff
path: root/oox/source/vml/vmlshapecontext.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-23 07:54:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-23 10:29:38 +0200
commitedc85fb55f8adc30a1416c6c854c89097060fb21 (patch)
treedaf9701247beee33cdb6af9d0486d1ba9a0932f7 /oox/source/vml/vmlshapecontext.cxx
parent86cce1343ca5ed85eece1c9d065f9f861d57f9d9 (diff)
clang-tidy performance-unnecessary-copy-init in idl..reportdesign
Change-Id: I4b2eda375bbfe1ba35a45168515d885935adcb76 Reviewed-on: https://gerrit.libreoffice.org/62217 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox/source/vml/vmlshapecontext.cxx')
-rw-r--r--oox/source/vml/vmlshapecontext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/vml/vmlshapecontext.cxx b/oox/source/vml/vmlshapecontext.cxx
index eb78598274c5..f5f4bf884e31 100644
--- a/oox/source/vml/vmlshapecontext.cxx
+++ b/oox/source/vml/vmlshapecontext.cxx
@@ -71,7 +71,7 @@ OptValue< double > lclDecodeOpacity( const AttributeList& rAttribs, sal_Int32 nT
if( oValue.has() )
{
- const OUString aString(oValue.get());
+ const OUString& aString(oValue.get());
const sal_Int32 nLength(aString.getLength());
if(nLength > 0)