summaryrefslogtreecommitdiff
path: root/jvmfwk/source
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-03-09 17:28:06 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-04-26 14:54:54 +0200
commitae381d9c95c1097922051a6abb0b2e573e3522b3 (patch)
tree5937993be10c31b8c8751dc9da1525ae26a55230 /jvmfwk/source
parente80de5c8fb38f9af58aa7147169a9cd6ec443151 (diff)
tdf#42949 Fix IWYU warnings in jvmfwk/ & jvmaccess/
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I6c1041f261ba5a6f81efd3dcbc12baf2746e1839 Reviewed-on: https://gerrit.libreoffice.org/71217 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'jvmfwk/source')
-rw-r--r--jvmfwk/source/elements.cxx2
-rw-r--r--jvmfwk/source/framework.cxx6
-rw-r--r--jvmfwk/source/framework.hxx3
-rw-r--r--jvmfwk/source/fwkbase.cxx5
-rw-r--r--jvmfwk/source/fwkutil.cxx11
5 files changed, 5 insertions, 22 deletions
diff --git a/jvmfwk/source/elements.cxx b/jvmfwk/source/elements.cxx
index 57134e19b35d..27de3532d70c 100644
--- a/jvmfwk/source/elements.cxx
+++ b/jvmfwk/source/elements.cxx
@@ -30,12 +30,10 @@
#include <fwkbase.hxx>
#include "framework.hxx"
#include <libxmlutil.hxx>
-#include <osl/thread.hxx>
#include <algorithm>
#include <libxml/parser.h>
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
-#include <rtl/bootstrap.hxx>
#include <boost/optional.hpp>
#include <string.h>
diff --git a/jvmfwk/source/framework.cxx b/jvmfwk/source/framework.cxx
index 8d870fd335ae..32120308f932 100644
--- a/jvmfwk/source/framework.cxx
+++ b/jvmfwk/source/framework.cxx
@@ -22,13 +22,13 @@
#include <cassert>
#include <memory>
-#include <utility>
+#include <rtl/ref.hxx>
#include <rtl/ustring.hxx>
-#include <rtl/bootstrap.hxx>
+#include <osl/diagnose.h>
#include <osl/thread.hxx>
-#include <osl/file.hxx>
#include <jvmfwk/framework.hxx>
+#include <vendorbase.hxx>
#include <vendorplugin.hxx>
#include <vector>
#include <algorithm>
diff --git a/jvmfwk/source/framework.hxx b/jvmfwk/source/framework.hxx
index f45965095068..39bda148b24a 100644
--- a/jvmfwk/source/framework.hxx
+++ b/jvmfwk/source/framework.hxx
@@ -19,10 +19,7 @@
#ifndef INCLUDED_JVMFWK_SOURCE_FRAMEWORK_HXX
#define INCLUDED_JVMFWK_SOURCE_FRAMEWORK_HXX
-#include <rtl/ustring.hxx>
-#include <rtl/byteseq.hxx>
#include <jvmfwk/framework.hxx>
-#include <vendorplugin.hxx>
namespace jfw
{
diff --git a/jvmfwk/source/fwkbase.cxx b/jvmfwk/source/fwkbase.cxx
index 0aed9857c966..1d0657a5a051 100644
--- a/jvmfwk/source/fwkbase.cxx
+++ b/jvmfwk/source/fwkbase.cxx
@@ -19,13 +19,10 @@
#include <rtl/ustring.hxx>
#include <rtl/ustrbuf.hxx>
-#include <rtl/uri.hxx>
#include <sal/log.hxx>
-#include <osl/thread.hxx>
-#include <osl/process.h>
#include <libxml/xpathInternals.h>
#include <osl/file.hxx>
-#include <osl/module.hxx>
+#include <osl/thread.hxx>
#include "framework.hxx"
#include <fwkutil.hxx>
#include <elements.hxx>
diff --git a/jvmfwk/source/fwkutil.cxx b/jvmfwk/source/fwkutil.cxx
index 14cb3024e01b..e14057999208 100644
--- a/jvmfwk/source/fwkutil.cxx
+++ b/jvmfwk/source/fwkutil.cxx
@@ -23,23 +23,14 @@
# define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h>
+#include <algorithm>
#endif
-#include <string>
-#include <string.h>
#include <osl/module.hxx>
-#include <osl/thread.hxx>
#include <rtl/ustring.hxx>
-#include <rtl/ustrbuf.hxx>
#include <rtl/bootstrap.hxx>
#include <osl/file.hxx>
-#include <osl/process.h>
-#include <rtl/instance.hxx>
-#include <rtl/uri.hxx>
#include <sal/log.hxx>
-#include <osl/getglobalmutex.hxx>
-#include <com/sun/star/lang/IllegalArgumentException.hpp>
-#include <cppuhelper/bootstrap.hxx>
#include "framework.hxx"
#include <fwkutil.hxx>