diff options
-rw-r--r-- | oox/source/export/drawingml.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index df1d858f767c..00a887677ef2 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -2117,6 +2117,7 @@ void DrawingML::WriteShapeEffect( const OUString& sName, const Sequence< Propert sal_Int32 nAlpha = MAX_PERCENT; Sequence< PropertyValue > aTransformations; sax_fastparser::FastAttributeList *aOuterShdwAttrList = mpFS->createAttrList(); + sax_fastparser::XFastAttributeListRef xOuterShdwAttrList( aOuterShdwAttrList ); for( sal_Int32 i=0; i < aEffectProps.getLength(); ++i ) { if( aEffectProps[i].Name == "Attribs" ) @@ -2247,8 +2248,7 @@ void DrawingML::WriteShapeEffect( const OUString& sName, const Sequence< Propert if( nEffectToken > 0 ) { - sax_fastparser::XFastAttributeListRef xAttrList( aOuterShdwAttrList ); - mpFS->startElement( nEffectToken, xAttrList ); + mpFS->startElement( nEffectToken, xOuterShdwAttrList ); if( bContainsColor ) { |