diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-11-29 16:42:13 +0000 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-11-30 16:29:33 +0100 |
commit | ffe8c1aa9ea678e6fa4bfde07014d0b000fe6b2f (patch) | |
tree | 5e468965df2d5253d13306416ef7d1459f3cbc60 /oox | |
parent | 0498b983cc62bc37dacd246ed6480563ede470b1 (diff) |
ofz#4481: move Path2DContext body to onEndElement
Change-Id: Ic06fb71c679e87069afda391e598d360b4b59cc2
Reviewed-on: https://gerrit.libreoffice.org/45535
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/customshapegeometry.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/drawingml/customshapegeometry.cxx b/oox/source/drawingml/customshapegeometry.cxx index 4f515fd2ab65..fd8db417bf3a 100644 --- a/oox/source/drawingml/customshapegeometry.cxx +++ b/oox/source/drawingml/customshapegeometry.cxx @@ -929,7 +929,7 @@ class Path2DContext : public ContextHandler2 { public: Path2DContext( ContextHandler2Helper& rParent, const AttributeList& rAttribs, CustomShapeProperties& rCustomShapeProperties, std::vector< css::drawing::EnhancedCustomShapeSegment >& rSegments, Path2D& rPath2D ); - virtual ~Path2DContext() override; + virtual void onEndElement() override; virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const ::oox::AttributeList& rAttribs ) override; @@ -952,7 +952,7 @@ Path2DContext::Path2DContext( ContextHandler2Helper& rParent, const AttributeLis rPath2D.extrusionOk = rAttribs.getBool( XML_extrusionOk, true ); } -Path2DContext::~Path2DContext() +void Path2DContext::onEndElement() { EnhancedCustomShapeSegment aNewSegment; switch ( mrPath2D.fill ) |