diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 09:32:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 14:15:59 +0100 |
commit | be02c2b458dedc8b3f4129c5a46604d1902641cd (patch) | |
tree | ffcbbf629e099608ce11c2b3d5d905c0f9aec186 /oox/source | |
parent | 6ab75ecf62ddd505e366612c3221d9bfc933c465 (diff) |
coverity#1215294 Resource leak
Change-Id: I6fc18afd6189060de6943b003dea933713e19773
Diffstat (limited to 'oox/source')
-rw-r--r-- | oox/source/export/drawingml.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index 05faa6d696bc..5c36ef32eafa 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -2434,6 +2434,7 @@ void DrawingML::WriteShape3DEffects( Reference< XPropertySet > xPropSet ) Sequence< PropertyValue > aExtrusionColorProps, aContourColorProps; sax_fastparser::FastAttributeList *aBevelTAttrList = mpFS->createAttrList(); sax_fastparser::FastAttributeList *aBevelBAttrList = mpFS->createAttrList(); + sax_fastparser::XFastAttributeListRef xBevelAttrList( aBevelBAttrList ); sax_fastparser::FastAttributeList *aShape3DAttrList = mpFS->createAttrList(); for( sal_Int32 i=0; i < aShape3DProps.getLength(); ++i ) { @@ -2513,7 +2514,6 @@ void DrawingML::WriteShape3DEffects( Reference< XPropertySet > xPropSet ) } if( bBevelBPresent ) { - sax_fastparser::XFastAttributeListRef xBevelAttrList( aBevelBAttrList ); mpFS->singleElementNS( XML_a, XML_bevelB, xBevelAttrList ); } if( aExtrusionColorProps.getLength() > 0 ) |