[Libreoffice-commits] .: Branch 'integration/dev300_m101' - sw/source

Thorsten Behrens thorsten at kemper.freedesktop.org
Tue Mar 15 07:28:55 PDT 2011


 sw/source/core/text/xmldump.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 92811cf9f36c8bbbca9d9baaacb3bba7936aeccf
Author: Thorsten Behrens <tbehrens at novell.com>
Date:   Tue Mar 15 15:26:54 2011 +0100

    Fix the build - methods in xmldump.cxx debug-only

diff --git a/sw/source/core/text/xmldump.cxx b/sw/source/core/text/xmldump.cxx
index 2f610c6..3209fba 100644
--- a/sw/source/core/text/xmldump.cxx
+++ b/sw/source/core/text/xmldump.cxx
@@ -128,6 +128,7 @@ class XmlPortionDumper:public SwPortionHandler
 
 };
 
+#if OSL_DEBUG_LEVEL > 1
 
 void SwTxtPortion::dumpPortionAsXml( xub_StrLen ofs, XubString & /*aText */,
                                      xmlTextWriterPtr writer )
@@ -312,4 +313,6 @@ void SwTxtFrm::dumpAsXmlAttributes( xmlTextWriterPtr writer )
         xmlTextWriterWriteFormatAttribute( writer, BAD_CAST( "follow" ), "%p", GetFollow() );
 }
 
+#endif
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list