summaryrefslogtreecommitdiff
path: root/test/source/xmlwriter.cxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-05-15 23:49:17 +0200
committerTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-05-15 23:50:58 +0200
commitfb1e8105536a5c3a2cbe291e012294da562cd9f4 (patch)
tree88961261f41639e4e8b3f2b3a191cc4295b4a6bc /test/source/xmlwriter.cxx
parentb7cb2ae5026cfd3bb30f148ed40f244b5c128876 (diff)
test: don't create root element in startDocument() in xmlwriter
Change-Id: Ia08e9f8caf2a2fb42855dcb2245e013e1a181216
Diffstat (limited to 'test/source/xmlwriter.cxx')
-rw-r--r--test/source/xmlwriter.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/source/xmlwriter.cxx b/test/source/xmlwriter.cxx
index 3485f1030537..b1166be647f0 100644
--- a/test/source/xmlwriter.cxx
+++ b/test/source/xmlwriter.cxx
@@ -27,10 +27,9 @@ XmlWriter::XmlWriter(xmlTextWriterPtr pWriter) :
XmlWriter::~XmlWriter()
{}
-void XmlWriter::startDocument(const OString& name)
+void XmlWriter::startDocument()
{
xmlTextWriterStartDocument(mpWriter, NULL, NULL, NULL);
- startElement(name);
}
void XmlWriter::endDocument()