From 8305eaf6bb48bb1558b526cdd116b76295019ca2 Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Fri, 1 Dec 2006 13:53:04 +0000 Subject: 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. --- jurt/com/sun/star/lib/uno/protocols/urp/Marshal.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'jurt/com/sun/star/lib/uno/protocols/urp') 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) { -- cgit