diff options
Diffstat (limited to 'sw/source/core/text/xmldump.cxx')
-rw-r--r-- | sw/source/core/text/xmldump.cxx | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/sw/source/core/text/xmldump.cxx b/sw/source/core/text/xmldump.cxx index 949ffc485d1c..4152901c6dd6 100644 --- a/sw/source/core/text/xmldump.cxx +++ b/sw/source/core/text/xmldump.cxx @@ -128,21 +128,19 @@ class XmlPortionDumper:public SwPortionHandler }; -#if OSL_DEBUG_LEVEL > 1 - namespace { xmlTextWriterPtr lcl_createDefaultWriter() { xmlTextWriterPtr writer = xmlNewTextWriterFilename( "layout.xml", 0 ); - xmlTextWriterStartDocument(writer, NULL, NULL, NULL); + xmlTextWriterStartDocument( writer, NULL, NULL, NULL ); return writer; } void lcl_freeWriter( xmlTextWriterPtr writer ) { - xmlTextWriterEndDocument(writer); - xmlFreeTextWriter( writer ); + xmlTextWriterEndDocument( writer ); + xmlFreeTextWriter( writer ); } } @@ -264,6 +262,4 @@ void SwTxtFrm::dumpAsXmlAttributes( xmlTextWriterPtr writer ) xmlTextWriterWriteFormatAttribute( writer, BAD_CAST( "follow" ), "%p", GetFollow() ); } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |