summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-06-08 07:05:20 +0200
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-06-08 07:11:29 +0200
commit0179d35fb3bcae57777d628087fd7adde357187a (patch)
tree2954a911ff9639a05f2386aed69a56c73d89bc0a /sc
parent0620ca9d81d844452cfe5a65f1416417ac01154d (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
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/xcl97/XclExpChangeTrack.cxx3
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