summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/source/xmlwriter.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/source/xmlwriter.cxx b/test/source/xmlwriter.cxx
index b98344bb9c17..c3ac40ec4a2a 100644
--- a/test/source/xmlwriter.cxx
+++ b/test/source/xmlwriter.cxx
@@ -29,7 +29,8 @@ XmlWriter::~XmlWriter()
void XmlWriter::startDocument()
{
- xmlTextWriterStartDocument(mpWriter, NULL, NULL, NULL);
+ xmlTextWriterSetIndent(mpWriter, 1);
+ xmlTextWriterStartDocument(mpWriter, NULL, "UTF-8", NULL);
}
void XmlWriter::endDocument()