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/lwpoverride.hxx | |
parent | 868444c803a3ba197068d487d3507089cc1e9afa (diff) |
loplugin:passstuffbyref in lotuswordpro
Change-Id: I2bca01e1ac3585674804b94d1cd65c18c41998ac
Diffstat (limited to 'lotuswordpro/source/filter/lwpoverride.hxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpoverride.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpoverride.hxx b/lotuswordpro/source/filter/lwpoverride.hxx index 84abc9288bdd..0eac133cf287 100644 --- a/lotuswordpro/source/filter/lwpoverride.hxx +++ b/lotuswordpro/source/filter/lwpoverride.hxx @@ -181,7 +181,7 @@ public: void Read(LwpObjectStream* pStrm) override; - inline LwpObjectID GetSilverBullet() const; + inline const LwpObjectID& GetSilverBullet() const; void Override(LwpBulletOverride* pOther); @@ -222,7 +222,7 @@ private: bool m_bIsNull; }; -inline LwpObjectID LwpBulletOverride::GetSilverBullet() const +inline const LwpObjectID& LwpBulletOverride::GetSilverBullet() const { return m_SilverBullet; } |