diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-03-16 14:24:22 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-03-16 14:39:48 +0100 |
commit | 1a6b52a1bfc184524fc63d4a9d0b51055bf9af23 (patch) | |
tree | 434ac91208b4a0ae0954aa84dd9475d7c57315e3 /sw | |
parent | 357059019541c36e5eb0bc3c98d5ed2f12d41371 (diff) |
add indentation to sw's layout dumper
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/layout/dumpfilter.cxx | 1 |
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 |