diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-02-16 21:20:53 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-02-17 16:44:11 +0100 |
commit | 5ecf769266623817fa4744e022a9518120fe5072 (patch) | |
tree | 21c0de84a23e5279289872df28f7040a337a25a8 /oox | |
parent | 2d93aee9bf614f8db176a34b04c20eb8ae3beb9e (diff) |
prevent invalid ooxml files during notes export, related #i83060#
Change-Id: I151c14cd75477445465e0221271f9bf17385af9f
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/vmlexport.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/oox/source/export/vmlexport.cxx b/oox/source/export/vmlexport.cxx index c0acded3c843..0c35c4582ccf 100644 --- a/oox/source/export/vmlexport.cxx +++ b/oox/source/export/vmlexport.cxx @@ -1034,6 +1034,11 @@ sal_Int32 VMLExport::StartShape() // start of the shape m_pSerializer->startElementNS( XML_v, nShapeElement, XFastAttributeListRef( m_pShapeAttrList ) ); } + else + { + // start of the shape + m_pSerializer->startElementNS( XML_v, nShapeElement, XFastAttributeListRef( m_pShapeAttrList ) ); + } // now check if we have some text and we have a text exporter registered const SdrTextObj* pTxtObj = PTR_CAST(SdrTextObj, m_pSdrObject); |