summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/animimp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/draw/animimp.cxx')
-rw-r--r--xmloff/source/draw/animimp.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/xmloff/source/draw/animimp.cxx b/xmloff/source/draw/animimp.cxx
index 7e6fe99f379b..00c723b283d2 100644
--- a/xmloff/source/draw/animimp.cxx
+++ b/xmloff/source/draw/animimp.cxx
@@ -393,8 +393,6 @@ public:
class XMLAnimationsSoundContext : public SvXMLImportContext
{
- XMLAnimationsEffectContext* mpParent;
-
public:
XMLAnimationsSoundContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLocalName, const Reference< XAttributeList >& xAttrList, XMLAnimationsEffectContext* pParent );
@@ -402,9 +400,9 @@ public:
XMLAnimationsSoundContext::XMLAnimationsSoundContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLocalName, const Reference< XAttributeList >& xAttrList, XMLAnimationsEffectContext* pParent )
-: SvXMLImportContext( rImport, nPrfx, rLocalName ), mpParent( pParent )
+: SvXMLImportContext( rImport, nPrfx, rLocalName )
{
- if( mpParent && nPrfx == XML_NAMESPACE_PRESENTATION && IsXMLToken( rLocalName, XML_SOUND ) )
+ if( pParent && nPrfx == XML_NAMESPACE_PRESENTATION && IsXMLToken( rLocalName, XML_SOUND ) )
{
const sal_Int16 nAttrCount = xAttrList.is() ? xAttrList->getLength() : 0;
for(sal_Int16 i=0; i < nAttrCount; i++)
@@ -419,13 +417,13 @@ XMLAnimationsSoundContext::XMLAnimationsSoundContext( SvXMLImport& rImport, sal_
case XML_NAMESPACE_XLINK:
if( IsXMLToken( aLocalName, XML_HREF ) )
{
- mpParent->maSoundURL = rImport.GetAbsoluteReference(sValue);
+ pParent->maSoundURL = rImport.GetAbsoluteReference(sValue);
}
break;
case XML_NAMESPACE_PRESENTATION:
if( IsXMLToken( aLocalName, XML_PLAY_FULL ) )
{
- mpParent->mbPlayFull = IsXMLToken( sValue, XML_TRUE );
+ pParent->mbPlayFull = IsXMLToken( sValue, XML_TRUE );
}
}
}