diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-09 16:41:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-10 08:13:33 +0200 |
commit | 3277446dc37f445b4d95a6c1272caf20242518c5 (patch) | |
tree | b44d7f69a299fb120320758fcc1b9697e0c33add /include | |
parent | 25a3658f514e644ca89294530f1cd5398795dcfb (diff) |
rename TakeSdrDragComment to GetSdrDragComment
and return the value, instead of using an awkward out-parameter
Change-Id: Ie1b2b31d36a2aa352b40b3582e0014e6b1f95390
Reviewed-on: https://gerrit.libreoffice.org/80549
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/svddrgmt.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/svx/svddrgmt.hxx b/include/svx/svddrgmt.hxx index 0e2995e98cd9..10be51127053 100644 --- a/include/svx/svddrgmt.hxx +++ b/include/svx/svddrgmt.hxx @@ -195,7 +195,7 @@ public: void Hide(); bool IsShiftPressed() const { return mbShiftPressed; } void SetShiftPressed(bool bShiftPressed) { mbShiftPressed = bShiftPressed; } - virtual void TakeSdrDragComment(OUString& rStr) const=0; + virtual OUString GetSdrDragComment() const=0; virtual bool BeginSdrDrag()=0; virtual void MoveSdrDrag(const Point& rPnt)=0; virtual bool EndSdrDrag(bool bCopy)=0; @@ -242,7 +242,7 @@ protected: public: SdrDragMove(SdrDragView& rNewView); - virtual void TakeSdrDragComment(OUString& rStr) const override; + virtual OUString GetSdrDragComment() const override; virtual bool BeginSdrDrag() override; virtual void MoveSdrDrag(const Point& rPnt) override; virtual bool EndSdrDrag(bool bCopy) override; @@ -264,7 +264,7 @@ protected: public: SdrDragResize(SdrDragView& rNewView); - virtual void TakeSdrDragComment(OUString& rStr) const override; + virtual OUString GetSdrDragComment() const override; virtual bool BeginSdrDrag() override; virtual void MoveSdrDrag(const Point& rPnt) override; virtual bool EndSdrDrag(bool bCopy) override; @@ -293,7 +293,7 @@ public: SdrDragObjOwn(SdrDragView& rNewView); virtual ~SdrDragObjOwn() override; - virtual void TakeSdrDragComment(OUString& rStr) const override; + virtual OUString GetSdrDragComment() const override; virtual bool BeginSdrDrag() override; virtual void MoveSdrDrag(const Point& rPnt) override; virtual bool EndSdrDrag(bool bCopy) override; |