diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-13 15:14:04 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-14 09:21:40 +0200 |
commit | d1f6f79d0df21c2bb3be9d191233eabf22afb14e (patch) | |
tree | b124796ed1043c5dc68dc416469e088228448492 /sc/source/ui/inc/notemark.hxx | |
parent | 492f2ff0053a11aa6e49a18a9a8caf87edb68436 (diff) |
loplugin:passstuffbyref in sc
Change-Id: I75c483972db787ea9c941eaac0df023f1929b09c
Diffstat (limited to 'sc/source/ui/inc/notemark.hxx')
-rw-r--r-- | sc/source/ui/inc/notemark.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/inc/notemark.hxx b/sc/source/ui/inc/notemark.hxx index 4daa0d387abd..b6f8f8d70d00 100644 --- a/sc/source/ui/inc/notemark.hxx +++ b/sc/source/ui/inc/notemark.hxx @@ -60,7 +60,7 @@ public: void Draw(); void InvalidateWin(); - ScAddress GetDocPos() const { return aDocPos; } + const ScAddress& GetDocPos() const { return aDocPos; } bool IsByKeyboard() const { return bByKeyboard; } void SetGridOff( const Point& rOff ) { aGridOff = rOff; } }; |