summaryrefslogtreecommitdiff
path: root/sj2
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-03-12 09:46:50 +0000
committerOliver Bolte <obo@openoffice.org>2007-03-12 09:46:50 +0000
commit0abde675a1729236ce8fbda87716f8c8afd3af4b (patch)
treedc80cb0c3e2e45964ef66ad6158e242a40a613d2 /sj2
parent3fbc94f1456819f17a0b0d8f62047123b5f3a31a (diff)
INTEGRATION: CWS sb36 (1.4.34); FILE MERGED
2005/07/11 13:10:05 sb 1.4.34.1: #i51803# Changed parameters of SjApplet2::Init, so that SjApplet2_Impl::Init can set up a class loader that explicitly knows classes.jar; cleaned up.
Diffstat (limited to 'sj2')
-rw-r--r--sj2/source/jscpp/sjapplet_impl.hxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/sj2/source/jscpp/sjapplet_impl.hxx b/sj2/source/jscpp/sjapplet_impl.hxx
index b0cc9c1c00db..ba7e31a01ed4 100644
--- a/sj2/source/jscpp/sjapplet_impl.hxx
+++ b/sj2/source/jscpp/sjapplet_impl.hxx
@@ -3,14 +3,12 @@
#ifdef SOLAR_JAVA
#include <jni.h>
#endif // SOLAR_JAVA
-#include <unotools/processfactory.hxx>
#ifdef SOLAR_JAVA
#include <com/sun/star/java/XJavaVM.hpp>
#include <com/sun/star/java/XJavaThreadRegister_11.hpp>
#endif // SOLAR_JAVA
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include "rtl/ref.hxx"
#include "jvmaccess/virtualmachine.hxx"
@@ -18,6 +16,9 @@ class Window;
class INetURLObject;
class SvCommandList;
class Size;
+namespace com { namespace sun { namespace star { namespace uno {
+ class XComponentContext;
+} } } }
#ifdef SOLAR_JAVA
struct EmbeddedWindow;
@@ -38,7 +39,8 @@ struct SjApplet2_Impl {
~SjApplet2_Impl() throw();
void init(Window * pParentWin,
- const com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> & smgr,
+ com::sun::star::uno::Reference<
+ com::sun::star::uno::XComponentContext > const & context,
const INetURLObject & rDocBase,
const SvCommandList & rCmdList) throw(com::sun::star::uno::RuntimeException);