summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpoverride.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 14:45:48 +0200
committerNoel Grandin <noel@peralex.com>2016-04-14 09:21:39 +0200
commit029a6abf615acdf5d386fc4e56fe35ae1c5403b9 (patch)
tree5456bb3e54c98466bed64bdfe40071dcec8d57be /lotuswordpro/source/filter/lwpoverride.hxx
parent868444c803a3ba197068d487d3507089cc1e9afa (diff)
loplugin:passstuffbyref in lotuswordpro
Change-Id: I2bca01e1ac3585674804b94d1cd65c18c41998ac
Diffstat (limited to 'lotuswordpro/source/filter/lwpoverride.hxx')
-rw-r--r--lotuswordpro/source/filter/lwpoverride.hxx4
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;
}