summaryrefslogtreecommitdiff
path: root/include/vcl/textview.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/textview.hxx')
-rw-r--r--include/vcl/textview.hxx2
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 );