https://bugs.documentfoundation.org/show_bug.cgi?id=158423

--- Comment #8 from Rene Engelhard <r...@debian.org> ---
ene@frodo:~/LibreOffice/git/libreoffice-24-2/unoxml$ git diff .
diff --git a/unoxml/CppunitTest_unoxml_domtest.mk
b/unoxml/CppunitTest_unoxml_domtest.mk
index e6a6b2959d67..8f5a3573f5a8 100644
--- a/unoxml/CppunitTest_unoxml_domtest.mk
+++ b/unoxml/CppunitTest_unoxml_domtest.mk
@@ -27,6 +27,7 @@ $(eval $(call gb_CppunitTest_use_components,unoxml_domtest,\

 $(eval $(call gb_CppunitTest_use_externals,unoxml_domtest, \
     boost_headers \
+    libxml2 \
 ))

 $(eval $(call gb_CppunitTest_use_libraries,unoxml_domtest, \
diff --git a/unoxml/qa/unit/domtest.cxx b/unoxml/qa/unit/domtest.cxx
index 479ff3fea697..4f715fd342cb 100644
--- a/unoxml/qa/unit/domtest.cxx
+++ b/unoxml/qa/unit/domtest.cxx
@@ -32,6 +32,8 @@
 #include <com/sun/star/xml/sax/XFastSAXSerializable.hpp>
 #include <com/sun/star/xml/sax/SAXParseException.hpp>

+#include <libxml/parser.h>
+
 using namespace ::comphelper;
 using namespace ::com::sun::star;
 using namespace ::com::sun::star::uno;

expectedly DOES NOT fix it. (First one is needed because somehow nothing in
unoxml uses libxml directly so the include doesn't get found.)

Since libxml2 is not used here anyway - this means the problem actually is
outside of unoxml? sax, maybe?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to