diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-14 10:20:52 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-14 10:24:47 +0200 |
commit | b8eb2946511ce617323b13dffe2b1d9704e0be60 (patch) | |
tree | d5aa4f91e75d654a1cdfcd75f26dd4b813a73ff7 /l10ntools/source/po.cxx | |
parent | d8644c8edb405abd9d71e62e43e898c1d2a28fd2 (diff) |
loplugin:passstuffbyref in various
Change-Id: I80070c83204e531c2f599f8a56193d6ffe0e5022
Diffstat (limited to 'l10ntools/source/po.cxx')
-rw-r--r-- | l10ntools/source/po.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/l10ntools/source/po.cxx b/l10ntools/source/po.cxx index 7881be384ebf..176ce1d813b1 100644 --- a/l10ntools/source/po.cxx +++ b/l10ntools/source/po.cxx @@ -49,10 +49,10 @@ public: virtual ~GenPoEntry(); // Default copy constructor and copy operator work well - OString getReference() const { return m_sReference; } - OString getMsgCtxt() const { return m_sMsgCtxt; } - OString getMsgId() const { return m_sMsgId; } - OString getMsgStr() const { return m_sMsgStr; } + const OString& getReference() const { return m_sReference; } + const OString& getMsgCtxt() const { return m_sMsgCtxt; } + const OString& getMsgId() const { return m_sMsgId; } + const OString& getMsgStr() const { return m_sMsgStr; } bool isFuzzy() const { return m_bFuzzy; } bool isNull() const { return m_bNull; } |