diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-13 14:45:48 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-14 09:21:39 +0200 |
commit | 029a6abf615acdf5d386fc4e56fe35ae1c5403b9 (patch) | |
tree | 5456bb3e54c98466bed64bdfe40071dcec8d57be /lotuswordpro/source/filter/xfilter/xfshadow.hxx | |
parent | 868444c803a3ba197068d487d3507089cc1e9afa (diff) |
loplugin:passstuffbyref in lotuswordpro
Change-Id: I2bca01e1ac3585674804b94d1cd65c18c41998ac
Diffstat (limited to 'lotuswordpro/source/filter/xfilter/xfshadow.hxx')
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfshadow.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xfshadow.hxx b/lotuswordpro/source/filter/xfilter/xfshadow.hxx index 9d9d872e561b..1fcae472176c 100644 --- a/lotuswordpro/source/filter/xfilter/xfshadow.hxx +++ b/lotuswordpro/source/filter/xfilter/xfshadow.hxx @@ -101,7 +101,7 @@ public: /** * @descr return shadow color. */ - XFColor GetColor(); + const XFColor& GetColor(); OUString ToString(); @@ -140,7 +140,7 @@ inline void XFShadow::SetColor(const XFColor& color) m_aColor = color; } -inline XFColor XFShadow::GetColor() +inline const XFColor& XFShadow::GetColor() { return m_aColor; } |