diff options
Diffstat (limited to 'include/svx/svdorect.hxx')
-rw-r--r-- | include/svx/svdorect.hxx | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/include/svx/svdorect.hxx b/include/svx/svdorect.hxx index f9c1c34fd145..729d3f221a05 100644 --- a/include/svx/svdorect.hxx +++ b/include/svx/svdorect.hxx @@ -66,22 +66,14 @@ public: * * Constructor of a rectangular drawing object */ - SdrRectObj(SdrModel& rSdrModel); - SdrRectObj( - SdrModel& rSdrModel, - const tools::Rectangle& rRect); + SdrRectObj(); + SdrRectObj(const tools::Rectangle& rRect); SdrRectObj& operator=(const SdrRectObj& rCopy); // Constructor of a text frame - SdrRectObj( - SdrModel& rSdrModel, - SdrObjKind eNewTextKind); - SdrRectObj( - SdrModel& rSdrModel, - SdrObjKind eNewTextKind, - const tools::Rectangle& rRect); - + SdrRectObj(SdrObjKind eNewTextKind); + SdrRectObj(SdrObjKind eNewTextKind, const tools::Rectangle& rRect); virtual ~SdrRectObj() override; virtual void TakeObjInfo(SdrObjTransformInfoRec& rInfo) const override; @@ -91,7 +83,7 @@ public: virtual OUString TakeObjNameSingul() const override; virtual OUString TakeObjNamePlural() const override; - virtual SdrRectObj* Clone(SdrModel* pTargetModel = nullptr) const override; + virtual SdrRectObj* Clone() const override; virtual void RecalcSnapRect() override; virtual void NbcSetSnapRect(const tools::Rectangle& rRect) override; virtual void NbcSetLogicRect(const tools::Rectangle& rRect) override; |