diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdogrp.cxx | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdogrp.cxx b/svx/source/svdraw/svdogrp.cxx index f9eb754bb7c2..47e9f0f83901 100644 --- a/svx/source/svdraw/svdogrp.cxx +++ b/svx/source/svdraw/svdogrp.cxx @@ -35,6 +35,14 @@ #include <rtl/ustrbuf.hxx> #include <vcl/canvastools.hxx> +DiagramHelper::DiagramHelper() {} +DiagramHelper::~DiagramHelper() {} + +void DiagramHelper::anchorToSdrObjGroup(SdrObjGroup& rTarget) +{ + rTarget.mp_DiagramHelper.reset(this); +} + // BaseProperties section std::unique_ptr<sdr::properties::BaseProperties> SdrObjGroup::CreateObjectSpecificProperties() { @@ -48,14 +56,19 @@ std::unique_ptr<sdr::contact::ViewContact> SdrObjGroup::CreateObjectSpecificView } SdrObjGroup::SdrObjGroup(SdrModel& rSdrModel) -: SdrObject(rSdrModel), - maRefPoint(0, 0) +: SdrObject(rSdrModel) +, SdrObjList() +, maRefPoint(0, 0) +, mp_DiagramHelper() { m_bClosedObj=false; } SdrObjGroup::SdrObjGroup(SdrModel& rSdrModel, SdrObjGroup const & rSource) -: SdrObject(rSdrModel, rSource) +: SdrObject(rSdrModel, rSource) +, SdrObjList() +, maRefPoint(0, 0) +, mp_DiagramHelper() { m_bClosedObj=false; |