summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpfribtext.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/lwpfribtext.hxx
parent868444c803a3ba197068d487d3507089cc1e9afa (diff)
loplugin:passstuffbyref in lotuswordpro
Change-Id: I2bca01e1ac3585674804b94d1cd65c18c41998ac
Diffstat (limited to 'lotuswordpro/source/filter/lwpfribtext.hxx')
-rw-r--r--lotuswordpro/source/filter/lwpfribtext.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpfribtext.hxx b/lotuswordpro/source/filter/lwpfribtext.hxx
index 84d66d5fc050..c4227dafffa9 100644
--- a/lotuswordpro/source/filter/lwpfribtext.hxx
+++ b/lotuswordpro/source/filter/lwpfribtext.hxx
@@ -74,7 +74,7 @@ private:
OUString m_Content;
bool m_bNoUnicode;
public:
- OUString GetText(){return m_Content;}
+ const OUString& GetText(){return m_Content;}
};
class LwpFribHardSpace : public LwpFrib
@@ -192,7 +192,7 @@ public:
private:
OUString m_Content;
public:
- OUString GetText(){return m_Content;}
+ const OUString& GetText(){return m_Content;}
};
class LwpFribPageNumber : public LwpFrib