[PATCH 7/7] JavaLoader actually implements XImplementationLoader

Tomas Hlavaty tom at logand.com
Tue Dec 20 15:08:23 PST 2011


---
 jurt/com/sun/star/comp/loader/JavaLoader.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/jurt/com/sun/star/comp/loader/JavaLoader.java b/jurt/com/sun/star/comp/loader/JavaLoader.java
index 25fc90b..3648fad 100644
--- a/jurt/com/sun/star/comp/loader/JavaLoader.java
+++ b/jurt/com/sun/star/comp/loader/JavaLoader.java
@@ -255,7 +255,7 @@ public class JavaLoader implements XImplementationLoader,
      * @see         com.sun.star.lang.XImplementationLoader
      * @see         com.sun.star.com.loader.RegistrationClassFinder
      */
-    public java.lang.Object activate( String implementationName,
+    public com.sun.star.uno.XInterface activate( String implementationName,
                                       String implementationLoaderUrl,
                                       String locationUrl,
                                       XRegistryKey xKey )
@@ -264,7 +264,7 @@ public class JavaLoader implements XImplementationLoader,
     {
         locationUrl = expand_url( locationUrl );
 
-        Object returnObject  = null;
+        com.sun.star.uno.XInterface returnObject  = null;
         Class clazz  ;
 
         DEBUG("try to get factory for " + implementationName);
-- 
1.7.0.4


--=-=-=--


More information about the LibreOffice mailing list