[Libreoffice-commits] .: sw/source

Markus Mohrhard mmohrhard at kemper.freedesktop.org
Fri Mar 16 06:40:30 PDT 2012


 sw/source/core/layout/dumpfilter.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 1a6b52a1bfc184524fc63d4a9d0b51055bf9af23
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Fri Mar 16 14:24:22 2012 +0100

    add indentation to sw's layout dumper

diff --git a/sw/source/core/layout/dumpfilter.cxx b/sw/source/core/layout/dumpfilter.cxx
index b5ee4ee..75c2f0e 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


More information about the Libreoffice-commits mailing list