diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-06-08 07:05:20 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-06-08 07:11:29 +0200 |
commit | 0179d35fb3bcae57777d628087fd7adde357187a (patch) | |
tree | 2954a911ff9639a05f2386aed69a56c73d89bc0a | |
parent | 0620ca9d81d844452cfe5a65f1416417ac01154d (diff) |
workaround for DBG_UTIL XML correctness checks
The current check will always be hit as the StartXmlElement does not use
a call that puts the element on the stack. So copy the pattern for the
EndXmlElement class.
However we should work on getting rid of these ugly hacks.
Change-Id: Id1141f4afc78a0cae1e4b7accae76e6ae08b77a7
-rw-r--r-- | sc/source/filter/xcl97/XclExpChangeTrack.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/filter/xcl97/XclExpChangeTrack.cxx b/sc/source/filter/xcl97/XclExpChangeTrack.cxx index ae8fb1d8267e..8eef7b78501f 100644 --- a/sc/source/filter/xcl97/XclExpChangeTrack.cxx +++ b/sc/source/filter/xcl97/XclExpChangeTrack.cxx @@ -1338,7 +1338,8 @@ public: void EndXmlElement::SaveXml( XclExpXmlStream& rStrm ) { - rStrm.GetCurrentStream()->endElement( mnElement ); + sax_fastparser::FSHelperPtr pStream = rStrm.GetCurrentStream(); + pStream->write("</")->writeId(mnElement)->write(">"); } class EndHeaderElement : public EndXmlElement |