From e548613a5bf49de2fce6cd9935cbbdf72a96dd2e Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 24 Nov 2014 10:51:44 +0100 Subject: [PATCH] Do not depend on libxml include in widely included file ...and hope xmTextWriterPtr expanding to struct _xmlTextWriter * is a stable feature of the libxml2 API Change-Id: Ic5076df5a8b33f71c605b3aef737a99ea96b1753 --- include/editeng/editobj.hxx | 4 +--- svx/Library_svxcore.mk | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/include/editeng/editobj.hxx b/include/editeng/editobj.hxx index 622626807472..62263f165d2c 100644 --- a/include/editeng/editobj.hxx +++ b/include/editeng/editobj.hxx @@ -33,8 +33,6 @@ #include -#include - class SfxItemPool; class SfxStyleSheetPool; class SvxFieldItem; @@ -148,7 +146,7 @@ public: #if DEBUG_EDIT_ENGINE void Dump() const; #endif - void dumpAsXml(xmlTextWriterPtr pWriter) const; + void dumpAsXml(struct _xmlTextWriter * pWriter) const; }; #endif // INCLUDED_EDITENG_EDITOBJ_HXX diff --git a/svx/Library_svxcore.mk b/svx/Library_svxcore.mk index 39d6be5686c6..420a6b8c4487 100644 --- a/svx/Library_svxcore.mk +++ b/svx/Library_svxcore.mk @@ -87,7 +87,6 @@ $(eval $(call gb_Library_use_externals,svxcore,\ icu_headers \ mesa_headers \ glew \ - libxml2 \ )) ifeq ($(OS),MACOSX)