diff options
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/dlged/dlged.cxx | 3 | ||||
-rw-r--r-- | basctl/source/dlged/dlgedobj.cxx | 4 | ||||
-rw-r--r-- | basctl/source/dlged/propbrw.cxx | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx index 5588752c4054..1e6b11d53a19 100644 --- a/basctl/source/dlged/dlged.cxx +++ b/basctl/source/dlged/dlged.cxx @@ -615,8 +615,7 @@ void DlgEditor::CreateDefaultObject() SdrObject* pObj = SdrObjFactory::MakeNewObject( *pDlgEdModel, pDlgEdView->GetCurrentObjInventor(), - pDlgEdView->GetCurrentObjIdentifier(), - pDlgEdPage); + pDlgEdView->GetCurrentObjIdentifier()); if (DlgEdObj* pDlgEdObj = dynamic_cast<DlgEdObj*>(pObj)) { diff --git a/basctl/source/dlged/dlgedobj.cxx b/basctl/source/dlged/dlgedobj.cxx index 008260b0bd21..8052f3cb159a 100644 --- a/basctl/source/dlged/dlgedobj.cxx +++ b/basctl/source/dlged/dlgedobj.cxx @@ -955,7 +955,7 @@ bool DlgEdObj::EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd) void DlgEdObj::SetDefaults() { // set parent form - pDlgEdForm = static_cast<DlgEdPage*>(GetPage())->GetDlgEdForm(); + pDlgEdForm = static_cast<DlgEdPage*>(getSdrPageFromSdrObject())->GetDlgEdForm(); if ( pDlgEdForm ) { @@ -1379,7 +1379,7 @@ void DlgEdForm::PositionAndSizeChange( const beans::PropertyChangeEvent& evt ) void DlgEdForm::UpdateStep() { - SdrPage* pSdrPage = GetPage(); + SdrPage* pSdrPage = getSdrPageFromSdrObject(); if ( pSdrPage ) { diff --git a/basctl/source/dlged/propbrw.cxx b/basctl/source/dlged/propbrw.cxx index 65bc60515fbf..74566308ca78 100644 --- a/basctl/source/dlged/propbrw.cxx +++ b/basctl/source/dlged/propbrw.cxx @@ -251,7 +251,7 @@ Sequence< Reference< XInterface > > std::unique_ptr<SdrObjListIter> pGroupIterator; if (pCurrent->IsGroupObject()) { - pGroupIterator.reset(new SdrObjListIter(*pCurrent->GetSubList())); + pGroupIterator.reset(new SdrObjListIter(pCurrent->GetSubList())); pCurrent = pGroupIterator->IsMore() ? pGroupIterator->Next() : nullptr; } |