tdf#42949 Fix IWYU warnings in javaunohelper/

Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.

Change-Id: I16c46b6640a349b886fe934f5634f2ba79d64887
Reviewed-on: https://gerrit.libreoffice.org/71934
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
This commit is contained in:
Gabor Kelemen
2019-05-06 00:33:23 +02:00
committed by Miklos Vajna
parent f897342320
commit 2d22f8bb15
3 changed files with 17 additions and 7 deletions

View File

@@ -0,0 +1,16 @@
---
assumeFilename: javaunohelper/source/vm.cxx
blacklist:
javaunohelper/source/bootstrap.cxx:
# Needed for direct member access
- com/sun/star/uno/XComponentContext.hpp
- jvmaccess/unovirtualmachine.hxx
# Needed to avoid loplugin:unreffun error
- juhx-export-functions.hxx
javaunohelper/source/javaunohelper.cxx:
# Needed for direct member access
- com/sun/star/lang/XMultiServiceFactory.hpp
- com/sun/star/registry/XRegistryKey.hpp
- jvmaccess/unovirtualmachine.hxx
# Needed to avoid loplugin:unreffun error
- juhx-export-functions.hxx

View File

@@ -22,7 +22,6 @@
#include <osl/diagnose.h>
#include <rtl/alloc.h>
#include <rtl/bootstrap.hxx>
#include <rtl/string.hxx>
@@ -33,10 +32,9 @@
#include <cppuhelper/bootstrap.hxx>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/lang/XSingleComponentFactory.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <jni.h>
#include <jvmaccess/virtualmachine.hxx>
#include <jvmaccess/unovirtualmachine.hxx>
#include <tools/diagnose_ex.h>

View File

@@ -20,7 +20,6 @@
#include <sal/config.h>
#include <osl/module.hxx>
#include <osl/thread.h>
#include <uno/environment.hxx>
#include <uno/lbnames.h>
@@ -28,13 +27,10 @@
#include <cppuhelper/factory.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/registry/XRegistryKey.hpp>
#include <jni.h>
#include <jvmaccess/virtualmachine.hxx>
#include <jvmaccess/unovirtualmachine.hxx>
#include "juhx-export-functions.hxx"