summaryrefslogtreecommitdiff
path: root/cpp/src/slice2vb/Gen.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2005-09-21 01:23:17 +0000
committerMatthew Newhook <matthew@zeroc.com>2005-09-21 01:23:17 +0000
commit4ad6ca4caa1f359f59589a12397a6cf4e18db2cb (patch)
treed403b5d6df8bd5a7f056c0cfe6f5c3c74140a905 /cpp/src/slice2vb/Gen.cpp
parentIt's now possible to edit/add/remove services (but not service instances or (diff)
downloadice-4ad6ca4caa1f359f59589a12397a6cf4e18db2cb.tar.bz2
ice-4ad6ca4caa1f359f59589a12397a6cf4e18db2cb.tar.xz
ice-4ad6ca4caa1f359f59589a12397a6cf4e18db2cb.zip
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=353
Diffstat (limited to 'cpp/src/slice2vb/Gen.cpp')
-rwxr-xr-xcpp/src/slice2vb/Gen.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/slice2vb/Gen.cpp b/cpp/src/slice2vb/Gen.cpp
index 7bd01a9bede..dac5a51e307 100755
--- a/cpp/src/slice2vb/Gen.cpp
+++ b/cpp/src/slice2vb/Gen.cpp
@@ -342,7 +342,7 @@ Slice::VbVisitor::writeDispatch(const ClassDefPtr& p)
#endif
TypeStringList::const_iterator q;
-
+ _out << nl << "__checkMode(" << sliceModeToIceMode(op) << ", __current.mode)";
if(!inParams.empty())
{
_out << nl << "Dim __is As IceInternal.BasicStream = __inS.istr()";
@@ -476,8 +476,7 @@ Slice::VbVisitor::writeDispatch(const ClassDefPtr& p)
}
TypeStringList::const_iterator q;
-
- if(!inParams.empty())
+ _out << nl << "__checkMode(" << sliceModeToIceMode(op) << ", __current.mode)"; if(!inParams.empty())
{
_out << nl << "Dim __is As IceInternal.BasicStream = __inS.istr()";
}