diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-03-06 10:49:14 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-03-06 11:25:34 +0100 |
commit | 804397dfb6cc1415bd4e94c3c7b1a5af469613d9 (patch) | |
tree | bb4b165b10f6a8e857f9326edef4e47efdc09312 | |
parent | db2bb66d29ba841634acea57ddf5e476884e7744 (diff) |
fix OOXML validation error, related fdo#31064
Use the correct namespace for wrap.
Change-Id: I5620d3386fcaf54090fd58963404dde3f03c5bf8
-rw-r--r-- | oox/source/export/vmlexport.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/xcl97/xcl97rec.cxx | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/oox/source/export/vmlexport.cxx b/oox/source/export/vmlexport.cxx index f348439f1eb8..de62d73c92f6 100644 --- a/oox/source/export/vmlexport.cxx +++ b/oox/source/export/vmlexport.cxx @@ -365,7 +365,7 @@ void VMLExport::Commit( EscherPropertyContainer& rProps, const Rectangle& rRect case ESCHER_WrapThrough: pWrapType = "through"; break; } if ( pWrapType ) - m_pSerializer->singleElementNS( XML_v, XML_wrap, + m_pSerializer->singleElementNS( XML_w10, XML_wrap, FSNS( XML_v, XML_type ), pWrapType, FSEND ); } diff --git a/sc/source/filter/xcl97/xcl97rec.cxx b/sc/source/filter/xcl97/xcl97rec.cxx index d3a9b5b706dd..19dd891b8374 100644 --- a/sc/source/filter/xcl97/xcl97rec.cxx +++ b/sc/source/filter/xcl97/xcl97rec.cxx @@ -256,6 +256,7 @@ static void SaveVmlObjects( XclExpObjList& rList, XclExpXmlStream& rStrm, sal_In FSNS( XML_xmlns, XML_v ), "urn:schemas-microsoft-com:vml", FSNS( XML_xmlns, XML_o ), "urn:schemas-microsoft-com:office:office", FSNS( XML_xmlns, XML_x ), "urn:schemas-microsoft-com:office:excel", + FSNS( XML_xmlns, XML_w10 ), "urn:schemas-microsoft-com:office:word", FSEND ); std::vector<XclObj*>::iterator pIter; |