summaryrefslogtreecommitdiff
path: root/sd/source/filter/ppt/ppt97animations.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/filter/ppt/ppt97animations.cxx')
-rw-r--r--sd/source/filter/ppt/ppt97animations.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/ppt/ppt97animations.cxx b/sd/source/filter/ppt/ppt97animations.cxx
index d90cf8d5ad49..2f5b5baf65f4 100644
--- a/sd/source/filter/ppt/ppt97animations.cxx
+++ b/sd/source/filter/ppt/ppt97animations.cxx
@@ -549,7 +549,7 @@ void Ppt97Animation::createAndSetCustomAnimationEffect( SdrObject* pObj )
if( !HasEffect() )
return;
- if( !pObj || !pObj->GetPage() )
+ if( !pObj || !pObj->getSdrPageFromSdrObject() )
{
OSL_FAIL("no valid SdrObject or page found for ppt import");
return;
@@ -561,7 +561,7 @@ void Ppt97Animation::createAndSetCustomAnimationEffect( SdrObject* pObj )
OSL_FAIL("no XShape interface found for ppt import");
return;
}
- ::sd::MainSequencePtr pMainSequence = static_cast<SdPage*>(pObj->GetPage())->getMainSequence();
+ ::sd::MainSequencePtr pMainSequence = static_cast<SdPage*>(pObj->getSdrPageFromSdrObject())->getMainSequence();
if( !pMainSequence.get() )
{
OSL_FAIL("no MainSequence found for ppt import");