diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-13 15:42:27 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-14 09:21:41 +0200 |
commit | 84a86d8a085844fafe3c5c7abc63bfa6d18ae715 (patch) | |
tree | d2c3fe93b4235697fa4ecf78806bfd574f9c0e4f /cui/source/dialogs | |
parent | e7d3fa58047c44bd3641973c065d1af9c2ac1fa0 (diff) |
loplugin:passstuffbyref in cui
Change-Id: I13c2956ad5012373a41c8e6c2af70583fa18c339
Diffstat (limited to 'cui/source/dialogs')
-rw-r--r-- | cui/source/dialogs/SpellDialog.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index 75a14c890488..21d83096c10e 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -145,7 +145,7 @@ public: bool IsErrorLanguageSelected() const {return m_bIsErrorLanguageSelected;} void SetDictionary(const Reference<XDictionary>& xDict) { m_xDictionary = xDict; } - Reference<XDictionary> GetDictionary() const {return m_xDictionary;} + const Reference<XDictionary>& GetDictionary() const { return m_xDictionary; } void SetAddedWord(const OUString& rWord) {m_sAddedWord = rWord;} const OUString& GetAddedWord() const { return m_sAddedWord;} |