diff options
author | Michi Henning <michi@zeroc.com> | 2006-08-04 04:30:39 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2006-08-04 04:30:39 +0000 |
commit | 03611ef2af5765896a5db1ad61406d36fefc18bc (patch) | |
tree | d2e94178e86eeb9cb226e912e2badbe1bf5555d6 /cpp/src/Slice/VbUtil.cpp | |
parent | Fixed bug #1284 (diff) | |
download | ice-03611ef2af5765896a5db1ad61406d36fefc18bc.tar.bz2 ice-03611ef2af5765896a5db1ad61406d36fefc18bc.tar.xz ice-03611ef2af5765896a5db1ad61406d36fefc18bc.zip |
Bug 1246.
Diffstat (limited to 'cpp/src/Slice/VbUtil.cpp')
-rwxr-xr-x | cpp/src/Slice/VbUtil.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/src/Slice/VbUtil.cpp b/cpp/src/Slice/VbUtil.cpp index 3d0c439b150..1ce6aef391a 100755 --- a/cpp/src/Slice/VbUtil.cpp +++ b/cpp/src/Slice/VbUtil.cpp @@ -366,7 +366,8 @@ Slice::VbGenerator::writeMarshalUnmarshalCode(Output &out, if(isOutParam) { out << nl << "Dim " << param - << "_PP As IceInternal.ParamPatcher = New IceInternal.ParamPatcher(GetType(Ice.Object)"; + << "_PP As IceInternal.ParamPatcher = New IceInternal.ParamPatcher(GetType(Ice.Object), " + << "\"::Ice::Object\")"; if(streamingAPI) { out << nl << stream << ".readObject(CType(" << param << "_PP, Ice.ReadObjectCallback))"; @@ -449,9 +450,10 @@ Slice::VbGenerator::writeMarshalUnmarshalCode(Output &out, { if(isOutParam) { + ContainedPtr contained = ContainedPtr::dynamicCast(type); out << nl << "Dim " << param << "_PP As IceInternal.ParamPatcher = New IceInternal.ParamPatcher(GetType(" - << typeToString(type) << "))"; + << typeToString(type) << "), \"" << contained->scoped() << "\")"; if(streamingAPI) { out << nl << stream << ".readObject(CType(" << param << "_PP, Ice.ReadObjectCallback))"; |