summaryrefslogtreecommitdiff
path: root/sw/inc/AnnotationWin.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/AnnotationWin.hxx')
-rw-r--r--sw/inc/AnnotationWin.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/AnnotationWin.hxx b/sw/inc/AnnotationWin.hxx
index ed6eb3fc6904..5d485d598b01 100644
--- a/sw/inc/AnnotationWin.hxx
+++ b/sw/inc/AnnotationWin.hxx
@@ -99,7 +99,7 @@ class SwAnnotationWin : public vcl::Window
void TranslateTopPosition(const long aAmount);
void CheckMetaText();
- Point GetAnchorPos() { return mAnchorRect.Pos(); }
+ Point const & GetAnchorPos() { return mAnchorRect.Pos(); }
const SwRect& GetAnchorRect() { return mAnchorRect; }
bool IsAnchorRectChanged() { return mbAnchorRectChanged; }
void ResetAnchorRectChanged() { mbAnchorRectChanged = false; }