diff options
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))"; |