summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-03-16 14:24:22 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-03-16 14:39:48 +0100
commit1a6b52a1bfc184524fc63d4a9d0b51055bf9af23 (patch)
tree434ac91208b4a0ae0954aa84dd9475d7c57315e3
parentPrevent out-of-bound array access. (diff)
downloadcore-1a6b52a1bfc184524fc63d4a9d0b51055bf9af23.tar.gz
core-1a6b52a1bfc184524fc63d4a9d0b51055bf9af23.zip
add indentation to sw's layout dumper
-rw-r--r--sw/source/core/layout/dumpfilter.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/core/layout/dumpfilter.cxx b/sw/source/core/layout/dumpfilter.cxx
index b5ee4eeb4992..75c2f0ec7637 100644
--- a/sw/source/core/layout/dumpfilter.cxx
+++ b/sw/source/core/layout/dumpfilter.cxx
@@ -146,6 +146,7 @@ namespace sw
writeCallback, closeCallback, ( void* ) xOut.get(), NULL );
xmlTextWriterPtr writer = xmlNewTextWriter( outBuffer );
+ xmlTextWriterSetIndent(writer, 1);
xmlTextWriterStartDocument( writer, NULL, NULL, NULL );
// TODO This doesn't export the whole XML file, whereas dumpAsXML() does it nicely