diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-28 19:48:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-29 08:02:04 +0100 |
commit | e0eb09405b2f4d95532d37bc37054a51e5a0177b (patch) | |
tree | b88291ecf58898a0b42ac124fcecf95d7229e7a3 /svx/source/svdraw/svdotextdecomposition.cxx | |
parent | 31f71635a136daf36d554e0c20db9ae0d1686c23 (diff) |
loplugin:passstuffbyref improved return in svx
Change-Id: I33bdbd416709ce46afb3c17aeab0d2e19a68ab30
Reviewed-on: https://gerrit.libreoffice.org/47150
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/svdraw/svdotextdecomposition.cxx')
-rw-r--r-- | svx/source/svdraw/svdotextdecomposition.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdotextdecomposition.cxx b/svx/source/svdraw/svdotextdecomposition.cxx index 940bdaad2205..7155bd15ab31 100644 --- a/svx/source/svdraw/svdotextdecomposition.cxx +++ b/svx/source/svdraw/svdotextdecomposition.cxx @@ -149,7 +149,7 @@ namespace mrOutliner.SetDrawBulletHdl(Link<DrawBulletInfo*,void>()); } - drawinglayer::primitive2d::Primitive2DContainer getPrimitive2DSequence(); + drawinglayer::primitive2d::Primitive2DContainer const & getPrimitive2DSequence(); }; bool impTextBreakupHandler::impIsUnderlineAbove(const vcl::Font& rFont) @@ -643,7 +643,7 @@ namespace } } - drawinglayer::primitive2d::Primitive2DContainer impTextBreakupHandler::getPrimitive2DSequence() + drawinglayer::primitive2d::Primitive2DContainer const & impTextBreakupHandler::getPrimitive2DSequence() { if(!maTextPortionPrimitives.empty()) { |