diff options
author | Rüdiger Timm <rt@openoffice.org> | 2006-05-04 07:08:26 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2006-05-04 07:08:26 +0000 |
commit | 6a7ddfece1755ee1a471fc0fcee5bc3f6eb05372 (patch) | |
tree | 996a287512c3fce6b1a45ba7c2f862719602ca20 /jurt | |
parent | 0d15ab56cb86f6e62e13d7bfddac5f0b5ad4f011 (diff) |
INTEGRATION: CWS mmt7 (1.17.14); FILE MERGED
2006/02/14 12:19:05 sb 1.17.14.1: #i60643# Restructured parts of ridl.jar due to new cyclic inter-package dependencies.
Diffstat (limited to 'jurt')
-rw-r--r-- | jurt/com/sun/star/lib/uno/protocols/urp/Marshal.java | 10 |
1 files changed, 3 insertions, 7 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 677d8e051c70..d8b8fd72298d 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.17 $ + * $Revision: 1.18 $ * - * last change: $Author: rt $ $Date: 2005-09-07 19:03:20 $ + * last change: $Author: rt $ $Date: 2006-05-04 08:08:26 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -35,7 +35,6 @@ package com.sun.star.lib.uno.protocols.urp; import com.sun.star.lib.uno.environments.remote.ThreadId; -import com.sun.star.lib.uno.typedesc.FieldDescription; import com.sun.star.lib.uno.typedesc.TypeDescription; import com.sun.star.uno.Any; import com.sun.star.uno.Enum; @@ -338,12 +337,9 @@ final class Marshal { private void writeStructValue(TypeDescription type, Object value) { IFieldDescription[] fields = type.getFieldDescriptions(); for (int i = 0; i < fields.length; ++i) { - int index = ((FieldDescription) fields[i]).getTypeParameterIndex(); try { writeValue( - (index < 0 - ? (TypeDescription) fields[i].getTypeDescription() - : type.getTypeArgument(index)), + (TypeDescription) fields[i].getTypeDescription(), value == null ? null : fields[i].getField().get(value)); } catch (IllegalAccessException e) { throw new RuntimeException(e.toString()); |