summaryrefslogtreecommitdiff
path: root/helpcompiler/inc
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-05-22 00:07:23 +0200
committerMiklos Vajna <vmiklos@collabora.com>2019-05-30 09:00:54 +0200
commitc329a1c11299b999152b45343961e79e66be405a (patch)
treeb164982a21a7c36181c97bf298a8504169d3efef /helpcompiler/inc
parent69236a7aa17da34399e4d204ddb659d67a51fbf4 (diff)
tdf#42949 Fix IWYU warnings in helpcompiler/
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Ie7e20c77a8035c0ee4f0316966d163b9cd7d11f2 Reviewed-on: https://gerrit.libreoffice.org/73006 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'helpcompiler/inc')
-rw-r--r--helpcompiler/inc/BasCodeTagger.hxx6
-rw-r--r--helpcompiler/inc/HelpCompiler.hxx17
-rw-r--r--helpcompiler/inc/HelpLinker.hxx4
3 files changed, 7 insertions, 20 deletions
diff --git a/helpcompiler/inc/BasCodeTagger.hxx b/helpcompiler/inc/BasCodeTagger.hxx
index 228f86fd6a18..93dfd70f137b 100644
--- a/helpcompiler/inc/BasCodeTagger.hxx
+++ b/helpcompiler/inc/BasCodeTagger.hxx
@@ -10,19 +10,13 @@
#ifndef INCLUDED_HELPCOMPILER_INC_BASCODETAGGER_HXX
#define INCLUDED_HELPCOMPILER_INC_BASCODETAGGER_HXX
-#include <iostream>
-#include <cstdlib>
-#include <string>
#include <deque>
#include <memory>
#include <vector>
-#include <libxml/xmlmemory.h>
#include <libxml/parser.h>
-#include <rtl/ustring.hxx>
#include <comphelper/syntaxhighlight.hxx>
#include <helpcompiler/dllapi.h>
-class BasicCodeTagger;
class LibXmlTreeWalker;
//!Tagger class.
diff --git a/helpcompiler/inc/HelpCompiler.hxx b/helpcompiler/inc/HelpCompiler.hxx
index ecd54ede9d0f..91c1b2f59e65 100644
--- a/helpcompiler/inc/HelpCompiler.hxx
+++ b/helpcompiler/inc/HelpCompiler.hxx
@@ -22,29 +22,20 @@
#include <sal/config.h>
+#include <deque>
+#include <memory>
#include <string>
#include <unordered_map>
#include <vector>
-#include <list>
-#include <fstream>
-#include <sstream>
-#include <algorithm>
-
-#include <libxml/xmlmemory.h>
-#include <libxml/debugXML.h>
-#include <libxml/HTMLtree.h>
-#include <libxml/xmlIO.h>
-#include <libxml/xinclude.h>
-#include <libxml/catalog.h>
+
+#include <libxml/parser.h>
#include <rtl/ustring.hxx>
#include <rtl/character.hxx>
-#include <osl/thread.h>
#include <osl/process.h>
#include <osl/file.hxx>
#include <o3tl/char16_t2wchar_t.hxx>
-#include "BasCodeTagger.hxx"
#include <helpcompiler/compilehelp.hxx>
#if OSL_DEBUG_LEVEL > 2
diff --git a/helpcompiler/inc/HelpLinker.hxx b/helpcompiler/inc/HelpLinker.hxx
index 6b338e1eb1e4..076141e39b92 100644
--- a/helpcompiler/inc/HelpLinker.hxx
+++ b/helpcompiler/inc/HelpLinker.hxx
@@ -21,8 +21,10 @@
#define INCLUDED_HELPCOMPILER_INC_HELPLINKER_HXX
#include <memory>
+#include <vector>
#include <helpcompiler/dllapi.h>
-#include <libxslt/transform.h>
+#include "HelpCompiler.hxx"
+#include <libxslt/xsltInternals.h>
#ifdef AIX
# undef _THREAD_SAFE