diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-20 09:48:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-21 10:52:46 +0200 |
commit | ffe84f49270e0a8818365ca7d1fd5242abff5562 (patch) | |
tree | 9fc133fc58737afcfbd49242528811eb320705c3 /include/svx/svdograf.hxx | |
parent | 6b28441fb8823ba28a9db6cf1d97aa277cdcd7b4 (diff) |
remove SdrObject::GetHdl in favour of AddToHdlList
the code already says that using GetHdl is inefficient, and client code
should be using AddToHdlList, so just drop the bad one
Change-Id: I88c43154c8cc0988127b9292e4cda28917f54eb9
Reviewed-on: https://gerrit.libreoffice.org/60792
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/svdograf.hxx')
-rw-r--r-- | include/svx/svdograf.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/svdograf.hxx b/include/svx/svdograf.hxx index 42cc1a37f83a..8cc7395a2283 100644 --- a/include/svx/svdograf.hxx +++ b/include/svx/svdograf.hxx @@ -179,7 +179,7 @@ public: SdrGrafObj& operator=(const SdrGrafObj& rObj); virtual sal_uInt32 GetHdlCount() const override; - virtual SdrHdl* GetHdl(sal_uInt32 nHdlNum) const override; + virtual void AddToHdlList(SdrHdlList& rHdlList) const override; virtual void NbcResize(const Point& rRef, const Fraction& xFact, const Fraction& yFact) override; virtual void NbcMirror(const Point& rRef1, const Point& rRef2) override; |