summaryrefslogtreecommitdiff
path: root/stoc/source/javaloader
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/javaloader')
-rw-r--r--stoc/source/javaloader/javaloader.cxx12
1 files changed, 3 insertions, 9 deletions
diff --git a/stoc/source/javaloader/javaloader.cxx b/stoc/source/javaloader/javaloader.cxx
index 19dc5d875049..760f6d356a3c 100644
--- a/stoc/source/javaloader/javaloader.cxx
+++ b/stoc/source/javaloader/javaloader.cxx
@@ -17,12 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <cstdarg>
-
-#include <osl/process.h>
-
#include <rtl/process.h>
-#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include <uno/environment.h>
@@ -39,8 +34,6 @@
#include <com/sun/star/java/XJavaVM.hpp>
-#include <com/sun/star/lang/XMultiComponentFactory.hpp>
-
#include <jni.h>
#include <cppuhelper/factory.hxx>
@@ -50,14 +43,15 @@
#include <cppuhelper/supportsservice.hxx>
#include <com/sun/star/loader/XImplementationLoader.hpp>
-#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
-#include <com/sun/star/registry/XRegistryKey.hpp>
+#include <com/sun/star/uno/XComponentContext.hpp>
#include <jvmaccess/unovirtualmachine.hxx>
#include <jvmaccess/virtualmachine.hxx>
+namespace com::sun::star::registry { class XRegistryKey; }
+
using namespace css::java;
using namespace css::lang;
using namespace css::loader;