diff options
Diffstat (limited to 'svx/source/svdraw/svdopath.cxx')
-rw-r--r-- | svx/source/svdraw/svdopath.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdopath.cxx b/svx/source/svdraw/svdopath.cxx index 0ae3fe029ef7..b586d83b3079 100644 --- a/svx/source/svdraw/svdopath.cxx +++ b/svx/source/svdraw/svdopath.cxx @@ -74,6 +74,8 @@ static sal_uInt16 GetNextPnt(sal_uInt16 nPnt, sal_uInt16 nPntMax, bool bClosed) return nPnt; } +namespace { + struct ImpSdrPathDragData : public SdrDragStatUserData { XPolygon aXP; // section of the original polygon @@ -112,6 +114,8 @@ public: bool IsMultiPointDrag() const { return mbMultiPointDrag; } }; +} + ImpSdrPathDragData::ImpSdrPathDragData(const SdrPathObj& rPO, const SdrHdl& rHdl, bool bMuPoDr, const SdrDragStat& rDrag) : aXP(5) , bValid(false) @@ -224,6 +228,8 @@ void ImpSdrPathDragData::ResetPoly(const SdrPathObj& rPO) aXP[4]=aTmpXP[nNextNextPnt0]; aXP.SetFlags(4,aTmpXP.GetFlags(nNextNextPnt0)); } +namespace { + struct ImpPathCreateUser : public SdrDragStatUserData { Point aBezControl0; @@ -273,6 +279,8 @@ public: XPolygon GetRectPoly() const; }; +} + XPolygon ImpPathCreateUser::GetFormPoly() const { if (bBezier) return GetBezierPoly(); |