summaryrefslogtreecommitdiff
path: root/include/svx/xlnstit.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 13:32:22 +0200
committerNoel Grandin <noel@peralex.com>2016-04-14 09:21:39 +0200
commit40f8d2566022140ca3f2d45d7cbd8b7ab51125ed (patch)
tree4a8bd6baf43f3789425ff8d7e988e7928942169f /include/svx/xlnstit.hxx
parentcb4015bb28dd7430efaaa523d04a155eb7e46305 (diff)
loplugin:passstuffbyref in svx
Change-Id: I7d405830785cb12aaceb65d6ed03dda04aa90fd8
Diffstat (limited to 'include/svx/xlnstit.hxx')
-rw-r--r--include/svx/xlnstit.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/xlnstit.hxx b/include/svx/xlnstit.hxx
index 58b9200a59f2..50bba7b9547d 100644
--- a/include/svx/xlnstit.hxx
+++ b/include/svx/xlnstit.hxx
@@ -54,7 +54,7 @@ public:
SfxMapUnit ePresMetric,
OUString &rText, const IntlWrapper * = nullptr ) const override;
- basegfx::B2DPolyPolygon GetLineStartValue() const { return maPolyPolygon;}
+ const basegfx::B2DPolyPolygon& GetLineStartValue() const { return maPolyPolygon;}
void SetLineStartValue(const basegfx::B2DPolyPolygon& rPolyPolygon) { maPolyPolygon = rPolyPolygon; Detach(); }
XLineStartItem* checkForUniqueItem( SdrModel* pModel ) const;