summaryrefslogtreecommitdiff
path: root/jurt/com/sun/star/lib/uno/protocols/urp
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2006-12-01 13:53:04 +0000
committerRüdiger Timm <rt@openoffice.org>2006-12-01 13:53:04 +0000
commit8305eaf6bb48bb1558b526cdd116b76295019ca2 (patch)
treefc5acff4e7e44e1c1bdea6abdee956a50a230ed7 /jurt/com/sun/star/lib/uno/protocols/urp
parent3468223f37f5fa100fe3fce54468a29a12dcb4b0 (diff)
INTEGRATION: CWS sb23 (1.16.8); FILE MERGED
2006/08/18 16:22:29 sb 1.16.8.2: RESYNC: (1.16-1.18); FILE MERGED 2005/03/15 10:29:36 sb 1.16.8.1: #88601# Support for current context in Java URP.
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) {