diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-01-11 09:09:14 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-01-11 09:09:42 +0100 |
commit | 8fd9020b2b5ae1024dbf866cd84cf28258aba232 (patch) | |
tree | 87e0d73e50d4b930457bafd4e1b6739b635bebd8 /include/svx/svddrag.hxx | |
parent | 88c7221926934694635838a269ef3e1659ba03bd (diff) |
svx: SdrDragStat::GetPointAnz() -> GetPointCount()
Change-Id: Ib8728408a81c655c36b46a8483970c38e9a40bc4
Diffstat (limited to 'include/svx/svddrag.hxx')
-rw-r--r-- | include/svx/svddrag.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/svx/svddrag.hxx b/include/svx/svddrag.hxx index ac2a978e3695..ab285bd6e587 100644 --- a/include/svx/svddrag.hxx +++ b/include/svx/svddrag.hxx @@ -84,14 +84,14 @@ public: SdrPageView* GetPageView() const { return pPageView; } void SetPageView(SdrPageView* pPV) { pPageView=pPV; } const Point& GetPoint(sal_uIntPtr nNum) const { return *aPnts[nNum]; } - sal_uIntPtr GetPointAnz() const { return aPnts.size(); } + sal_uIntPtr GetPointCount() const { return aPnts.size(); } const Point& GetStart() const { return GetPoint(0); } Point& Start() { return Pnt(0); } - const Point& GetPrev() const { return GetPoint(GetPointAnz()-(GetPointAnz()>=2 ? 2:1)); } - Point& Prev() { return Pnt(GetPointAnz()-(GetPointAnz()>=2 ? 2:1)); } + const Point& GetPrev() const { return GetPoint(GetPointCount()-(GetPointCount()>=2 ? 2:1)); } + Point& Prev() { return Pnt(GetPointCount()-(GetPointCount()>=2 ? 2:1)); } const Point& GetPos0() const { return aPos0; } - const Point& GetNow() const { return GetPoint(GetPointAnz()-1); } - Point& Now() { return Pnt(GetPointAnz()-1); } + const Point& GetNow() const { return GetPoint(GetPointCount()-1); } + Point& Now() { return Pnt(GetPointCount()-1); } const Point& GetRealNow() const { return aRealNow; } Point& RealNow() { return aRealNow; } const Point& GetRef1() const { return aRef1; } |