summaryrefslogtreecommitdiff
path: root/sw/source/core/edit
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 15:33:00 +0200
committerNoel Grandin <noel@peralex.com>2016-04-14 09:21:40 +0200
commit89fa923a28fb351bb4faad1f69ca94d17f8a5b06 (patch)
tree55472b67e354712f0f8f6fd0b54a248a0f71018d /sw/source/core/edit
parentd1f6f79d0df21c2bb3be9d191233eabf22afb14e (diff)
loplugin:passstuffbyref in sw
Change-Id: I124bdd4f28c7d7508e77b902dfa23c398454bf38
Diffstat (limited to 'sw/source/core/edit')
-rw-r--r--sw/source/core/edit/edlingu.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/edit/edlingu.cxx b/sw/source/core/edit/edlingu.cxx
index c4e59c7083c5..185e17e14b7c 100644
--- a/sw/source/core/edit/edlingu.cxx
+++ b/sw/source/core/edit/edlingu.cxx
@@ -132,8 +132,8 @@ public:
bool SpellSentence(svx::SpellPortions& rPortions, bool bIsGrammarCheck);
void ToSentenceStart();
- const svx::SpellPortions GetLastPortions() const { return aLastPortions;}
- SpellContentPositions GetLastPositions() const {return aLastPositions;}
+ const svx::SpellPortions& GetLastPortions() const { return aLastPortions;}
+ const SpellContentPositions& GetLastPositions() const {return aLastPositions;}
void ContinueAfterThisSentence() { bMoveToEndOfSentence = true; }
};