summaryrefslogtreecommitdiff
path: root/jurt/com
diff options
context:
space:
mode:
authorJoachim Lingner <jl@openoffice.org>2002-03-27 12:03:56 +0000
committerJoachim Lingner <jl@openoffice.org>2002-03-27 12:03:56 +0000
commit7d297b2a7569f45fa034c4d80a6b6534aa7a682c (patch)
treee125b08ae690430ac739566a5649d448aba68be8 /jurt/com
parent1133bf31b9860ef1a443c5efb17216d8bef6ba02 (diff)
#98379# HolderProxy.isSame
Diffstat (limited to 'jurt/com')
-rw-r--r--jurt/com/sun/star/lib/uno/environments/java/java_environment.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/jurt/com/sun/star/lib/uno/environments/java/java_environment.java b/jurt/com/sun/star/lib/uno/environments/java/java_environment.java
index 99bc297b1909..c4b8e6e90092 100644
--- a/jurt/com/sun/star/lib/uno/environments/java/java_environment.java
+++ b/jurt/com/sun/star/lib/uno/environments/java/java_environment.java
@@ -2,9 +2,9 @@
*
* $RCSfile: java_environment.java,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: kr $ $Date: 2001-05-04 11:52:11 $
+ * last change: $Author: jl $ $Date: 2002-03-27 13:03:56 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -91,7 +91,7 @@ import com.sun.star.uno.XInterface;
* interface defined in the uno runtime.
* <p>
* <p>
- * @version $Revision: 1.5 $ $ $Date: 2001-05-04 11:52:11 $
+ * @version $Revision: 1.6 $ $ $Date: 2002-03-27 13:03:56 $
* @author Kay Ramme
* @see com.sun.star.uno.UnoRuntime
* @see com.sun.star.uno.IEnvironment
@@ -187,6 +187,9 @@ public class java_environment implements IEnvironment, Disposable {
}
public boolean isSame(Object object) {
+ if (object instanceof HolderProxy)
+ object=((HolderProxy) object).object;
+
return UnoRuntime.areSame(this.object, object);
}