diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-05-23 12:30:12 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-05-23 13:29:15 +0100 |
commit | 3bf5ae903175615d67da18ab2990cf2a550899d3 (patch) | |
tree | 046034a252a0a8717c0b11c114c72d3aa0771c13 | |
parent | 21d69b389d37f0d845813ac51ae4e376af72c474 (diff) |
add libxml forward definitions instead of direct includes
Change-Id: I33ffca788182cd24d148614ee03c5a884baccf84
-rw-r--r-- | sw/inc/ndarr.hxx | 4 | ||||
-rw-r--r-- | sw/source/core/docnode/nodedump.cxx | 3 | ||||
-rw-r--r-- | sw/source/core/inc/frame.hxx | 4 |
3 files changed, 5 insertions, 6 deletions
diff --git a/sw/inc/ndarr.hxx b/sw/inc/ndarr.hxx index 22c52ee337be..0faba74af165 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 447967c4f557..9db2f9b2539a 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 0939c63530bc..a0c620ccf847 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 |