[Libreoffice-commits] .: sw/source

Caolán McNamara caolan at kemper.freedesktop.org
Thu Apr 7 02:23:49 PDT 2011


 sw/source/core/inc/frame.hxx         |    4 ----
 sw/source/core/inc/txtfrm.hxx        |    2 --
 sw/source/core/layout/dumpfilter.cxx |    2 ++
 3 files changed, 2 insertions(+), 6 deletions(-)

New commits:
commit ad720b8c3bfa020ad3255790bac117881bc1f86d
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Apr 7 10:23:36 2011 +0100

    fix build error, make xmldumper stuff always built

diff --git a/sw/source/core/inc/frame.hxx b/sw/source/core/inc/frame.hxx
index 88d9b13..664f28b 100644
--- a/sw/source/core/inc/frame.hxx
+++ b/sw/source/core/inc/frame.hxx
@@ -38,10 +38,8 @@
 #include <svl/brdcst.hxx>
 #include "IDocumentDrawModelAccess.hxx"
 
-#if OSL_DEBUG_LEVEL > 1
 #include <libxml/encoding.h>
 #include <libxml/xmlwriter.h>
-#endif
 
 class SwLayoutFrm;
 class SwRootFrm;
@@ -905,13 +903,11 @@ public:
     void ValidateThisAndAllLowers( const sal_uInt16 nStage );
 
 public:
-#if OSL_DEBUG_LEVEL > 1
     /** if writer is NULL, dumps the layout structure as XML in layout.xml
       */
     virtual void dumpAsXml(xmlTextWriterPtr writer = NULL );
     virtual void dumpAsXmlAttributes(xmlTextWriterPtr writer);
     void dumpChildrenAsXml(xmlTextWriterPtr writer);
-#endif
     bool IsCollapse() const;
 };
 
diff --git a/sw/source/core/inc/txtfrm.hxx b/sw/source/core/inc/txtfrm.hxx
index 76f784b..94f6c2d 100644
--- a/sw/source/core/inc/txtfrm.hxx
+++ b/sw/source/core/inc/txtfrm.hxx
@@ -610,9 +610,7 @@ public:
 
     static void repaintTextFrames( const SwTxtNode& rNode );
     
-#if OSL_DEBUG_LEVEL > 1
     virtual void dumpAsXmlAttributes(xmlTextWriterPtr writer);
-#endif
 };
 
 /*************************************************************************
diff --git a/sw/source/core/layout/dumpfilter.cxx b/sw/source/core/layout/dumpfilter.cxx
index 391da67..6fe482b 100644
--- a/sw/source/core/layout/dumpfilter.cxx
+++ b/sw/source/core/layout/dumpfilter.cxx
@@ -38,6 +38,8 @@
 
 #include <comphelper/mediadescriptor.hxx>
 
+#include <libxml/xmlwriter.h>
+
 using namespace ::com::sun::star;
 
 ::rtl::OUString SAL_CALL LayoutDumpFilter_getImplementationName() throw( uno::RuntimeException )


More information about the Libreoffice-commits mailing list