diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-13 13:32:22 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-14 09:21:39 +0200 |
commit | 40f8d2566022140ca3f2d45d7cbd8b7ab51125ed (patch) | |
tree | 4a8bd6baf43f3789425ff8d7e988e7928942169f /include/svx/xgrad.hxx | |
parent | cb4015bb28dd7430efaaa523d04a155eb7e46305 (diff) |
loplugin:passstuffbyref in svx
Change-Id: I7d405830785cb12aaceb65d6ed03dda04aa90fd8
Diffstat (limited to 'include/svx/xgrad.hxx')
-rw-r--r-- | include/svx/xgrad.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/svx/xgrad.hxx b/include/svx/xgrad.hxx index 68cbae987ac3..c9dc407c11ef 100644 --- a/include/svx/xgrad.hxx +++ b/include/svx/xgrad.hxx @@ -63,9 +63,9 @@ public: void SetSteps(sal_uInt16 nSteps) { nStepCount = nSteps; } css::awt::GradientStyle GetGradientStyle() const { return eStyle; } - Color GetStartColor() const { return aStartColor; } - Color GetEndColor() const { return aEndColor; } - long GetAngle() const { return nAngle; } + const Color& GetStartColor() const { return aStartColor; } + const Color& GetEndColor() const { return aEndColor; } + long GetAngle() const { return nAngle; } sal_uInt16 GetBorder() const { return nBorder; } sal_uInt16 GetXOffset() const { return nOfsX; } sal_uInt16 GetYOffset() const { return nOfsY; } |