sw/inc/ndarr.hxx | 4 +--- sw/source/core/docnode/nodedump.cxx | 3 +++ sw/source/core/inc/frame.hxx | 4 +--- 3 files changed, 5 insertions(+), 6 deletions(-)
New commits: commit 3bf5ae903175615d67da18ab2990cf2a550899d3 Author: Michael Meeks <michael.me...@suse.com> Date: Wed May 23 12:30:12 2012 +0100 add libxml forward definitions instead of direct includes Change-Id: I33ffca788182cd24d148614ee03c5a884baccf84 diff --git a/sw/inc/ndarr.hxx b/sw/inc/ndarr.hxx index 22c52ee..0faba74 100644 --- a/sw/inc/ndarr.hxx +++ b/sw/inc/ndarr.hxx @@ -41,9 +41,6 @@ #include <bparr.hxx> #include <ndtyp.hxx> -#include <libxml/encoding.h> -#include <libxml/xmlwriter.h> - class Graphic; class GraphicObject; class String; @@ -83,6 +80,7 @@ struct SwPosition; typedef SwNode * SwNodePtr; typedef sal_Bool (*FnForEach_SwNodes)( const SwNodePtr&, void* pArgs ); +typedef struct _xmlTextWriter *xmlTextWriterPtr; SV_DECL_PTRARR_SORT( SwOutlineNodes, SwNodePtr, 0 ) diff --git a/sw/source/core/docnode/nodedump.cxx b/sw/source/core/docnode/nodedump.cxx index 447967c..9db2f9b 100644 --- a/sw/source/core/docnode/nodedump.cxx +++ b/sw/source/core/docnode/nodedump.cxx @@ -29,6 +29,9 @@ #include "doc.hxx" #include "ndtxt.hxx" +#include <libxml/encoding.h> +#include <libxml/xmlwriter.h> + namespace { diff --git a/sw/source/core/inc/frame.hxx b/sw/source/core/inc/frame.hxx index 0939c63..a0c620c 100644 --- a/sw/source/core/inc/frame.hxx +++ b/sw/source/core/inc/frame.hxx @@ -39,9 +39,6 @@ #include <svl/brdcst.hxx> #include "IDocumentDrawModelAccess.hxx" -#include <libxml/encoding.h> -#include <libxml/xmlwriter.h> - class SwLayoutFrm; class SwRootFrm; class SwPageFrm; @@ -68,6 +65,7 @@ class SwFmt; class SwPrintData; class SwSortedObjs; class SwAnchoredObject; +typedef struct _xmlTextWriter *xmlTextWriterPtr; //Jeder FrmTyp findet sich hier in einem Bit wieder. //Die Bits muessen so gesetzt werden, dass mit einer Maskierung festgestellt _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits