diff options
Diffstat (limited to 'sd/source/filter/eppt/pptexanimations.cxx')
-rw-r--r-- | sd/source/filter/eppt/pptexanimations.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sd/source/filter/eppt/pptexanimations.cxx b/sd/source/filter/eppt/pptexanimations.cxx index d112fb48b798..fa2160b83d69 100644 --- a/sd/source/filter/eppt/pptexanimations.cxx +++ b/sd/source/filter/eppt/pptexanimations.cxx @@ -969,9 +969,7 @@ sal_Int16 AnimationExporter::exportAnimPropertySet( SvStream& rStrm, const Refer if( xMaster.is() ) { sal_Int32 nMasterRel = 2; - Reference< XChild > xNodeChild( xNode, UNO_QUERY ); - Reference< XChild > xMasterChild( xMaster, UNO_QUERY ); - if( xNodeChild.is() && xMasterChild.is() && (xNodeChild->getParent() == xMasterChild->getParent() ) ) + if( xNode.is() && xMaster.is() && (xNode->getParent() == xMaster->getParent() ) ) nMasterRel = 0; aMasterRel <<= nMasterRel; |