diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-23 18:35:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-24 07:01:47 +0100 |
commit | 6028b64e27dc45f20aa4a4e0adbef1c03e91a79b (patch) | |
tree | fcdba02b18bc9081371b91681fcb898697155af6 /include/vcl/textview.hxx | |
parent | 92bab0f11e0a93005bfd13db3a0552ecaf082ecb (diff) |
loplugin:passstuffbyref even more return improvements
Change-Id: I2a752025cd429e4d271626402dce5d8a8b0c76d2
Reviewed-on: https://gerrit.libreoffice.org/47021
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/textview.hxx')
-rw-r--r-- | include/vcl/textview.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/textview.hxx b/include/vcl/textview.hxx index ad16d8486913..545b1ba9030f 100644 --- a/include/vcl/textview.hxx +++ b/include/vcl/textview.hxx @@ -96,7 +96,7 @@ class VCL_DLLPUBLIC TextView : public vcl::unohelper::DragAndDropClient void ShowSelection( const TextSelection& rSel ); void ImpShowHideSelection( const TextSelection* pRange = nullptr ); - TextSelection ImpMoveCursor( const KeyEvent& rKeyEvent ); + TextSelection const & ImpMoveCursor( const KeyEvent& rKeyEvent ); TextPaM ImpDelete( sal_uInt8 nMode, sal_uInt8 nDelMode ); bool IsInSelection( const TextPaM& rPaM ); |