summaryrefslogtreecommitdiff
path: root/jurt/com/sun/star/lib/uno/protocols/urp
diff options
context:
space:
mode:
Diffstat (limited to 'jurt/com/sun/star/lib/uno/protocols/urp')
-rw-r--r--jurt/com/sun/star/lib/uno/protocols/urp/Marshal.java10
1 files changed, 7 insertions, 3 deletions
diff --git a/jurt/com/sun/star/lib/uno/protocols/urp/Marshal.java b/jurt/com/sun/star/lib/uno/protocols/urp/Marshal.java
index d8b8fd72298d..09477141c40c 100644
--- a/jurt/com/sun/star/lib/uno/protocols/urp/Marshal.java
+++ b/jurt/com/sun/star/lib/uno/protocols/urp/Marshal.java
@@ -4,9 +4,9 @@
*
* $RCSfile: Marshal.java,v $
*
- * $Revision: 1.18 $
+ * $Revision: 1.19 $
*
- * last change: $Author: rt $ $Date: 2006-05-04 08:08:26 $
+ * last change: $Author: rt $ $Date: 2006-12-01 14:53:04 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -87,6 +87,10 @@ final class Marshal {
}
}
+ public void writeInterface(XInterface object, Type type) {
+ writeObjectId((String) bridge.mapInterfaceTo(object, type));
+ }
+
public void writeThreadId(ThreadId threadId) {
byte[] data = threadId.getBytes();
boolean[] found = new boolean[1];
@@ -353,7 +357,7 @@ final class Marshal {
}
private void writeInterfaceValue(TypeDescription type, XInterface value) {
- writeObjectId((String) bridge.mapInterfaceTo(value, new Type(type)));
+ writeInterface(value, new Type(type));
}
private void write32Bit(int value) {