diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-03-09 17:28:06 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-04-26 14:54:54 +0200 |
commit | ae381d9c95c1097922051a6abb0b2e573e3522b3 (patch) | |
tree | 5937993be10c31b8c8751dc9da1525ae26a55230 /jvmaccess | |
parent | e80de5c8fb38f9af58aa7147169a9cd6ec443151 (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 'jvmaccess')
-rw-r--r-- | jvmaccess/IwyuFilter_jvmaccess.yaml | 6 | ||||
-rw-r--r-- | jvmaccess/source/classpath.cxx | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/jvmaccess/IwyuFilter_jvmaccess.yaml b/jvmaccess/IwyuFilter_jvmaccess.yaml new file mode 100644 index 000000000000..43e850e12f8f --- /dev/null +++ b/jvmaccess/IwyuFilter_jvmaccess.yaml @@ -0,0 +1,6 @@ +--- +assumeFilename: jvmaccess/source/classpath.cxx +blacklist: + jvmaccess/source/classpath.cxx: + # Needed to inherit linker visibility from function declaration + - jvmaccess/classpath.hxx diff --git a/jvmaccess/source/classpath.cxx b/jvmaccess/source/classpath.cxx index c1a0d165f397..b4d0ef3d6bfa 100644 --- a/jvmaccess/source/classpath.cxx +++ b/jvmaccess/source/classpath.cxx @@ -27,8 +27,6 @@ #include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/lang/WrappedTargetRuntimeException.hpp> #include <com/sun/star/uno/Reference.hxx> -#include <com/sun/star/uno/RuntimeException.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/uno/XInterface.hpp> #include <com/sun/star/uri/UriReferenceFactory.hpp> #include <com/sun/star/uri/XVndSunStarExpandUrlReference.hpp> @@ -39,6 +37,8 @@ #include <jni.h> +namespace com::sun::star::uno { class XComponentContext; } + jobjectArray jvmaccess::ClassPath::translateToUrls( css::uno::Reference< css::uno::XComponentContext > const & context, JNIEnv * environment, OUString const & classPath) |