diff options
Diffstat (limited to 'starmath/inc/cursor.hxx')
-rw-r--r-- | starmath/inc/cursor.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/cursor.hxx b/starmath/inc/cursor.hxx index 0c0adbb0d2de..3f5c3df35fb0 100644 --- a/starmath/inc/cursor.hxx +++ b/starmath/inc/cursor.hxx @@ -98,7 +98,7 @@ public: } /** Get position */ - SmCaretPos GetPosition() const { return mpPosition->CaretPos; } + const SmCaretPos& GetPosition() const { return mpPosition->CaretPos; } /** True, if the cursor has a selection */ bool HasSelection() { return mpAnchor != mpPosition; } |