diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-03-28 14:03:50 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-03-28 14:03:50 +0000 |
commit | 3edb9d1e2ca92fff1bea08d23338cabee47dd2e7 (patch) | |
tree | b62a1dc465ac160616672c6a64f630396e4fae05 /cpp/src/slice2vb/Gen.cpp | |
parent | Synced with Ice for C++ changes. (diff) | |
download | ice-3edb9d1e2ca92fff1bea08d23338cabee47dd2e7.tar.bz2 ice-3edb9d1e2ca92fff1bea08d23338cabee47dd2e7.tar.xz ice-3edb9d1e2ca92fff1bea08d23338cabee47dd2e7.zip |
Fixed half of bug 847: ice_newIdentiy -> ice_identity, ice_newFacet ->
ice_facet, etc
Diffstat (limited to 'cpp/src/slice2vb/Gen.cpp')
-rwxr-xr-x | cpp/src/slice2vb/Gen.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/slice2vb/Gen.cpp b/cpp/src/slice2vb/Gen.cpp index 2ba4aa87429..6b9b248d4e1 100755 --- a/cpp/src/slice2vb/Gen.cpp +++ b/cpp/src/slice2vb/Gen.cpp @@ -3834,7 +3834,7 @@ Slice::Gen::HelperVisitor::visitClassDefStart(const ClassDefPtr& p) _out << nl << "Return Nothing"; _out.dec(); _out << nl << "End If"; - _out << nl << "Dim bb As Ice.ObjectPrx = b.ice_newFacet(f)"; + _out << nl << "Dim bb As Ice.ObjectPrx = b.ice_facet(f)"; _out << nl << "Try"; _out.inc(); _out << nl << "If bb.ice_isA(\"" << p->scoped() << "\") Then"; @@ -3859,7 +3859,7 @@ Slice::Gen::HelperVisitor::visitClassDefStart(const ClassDefPtr& p) _out << nl << "Return Nothing"; _out.dec(); _out << nl << "End If"; - _out << nl << "Dim bb As Ice.ObjectPrx = b.ice_newFacet(f)"; + _out << nl << "Dim bb As Ice.ObjectPrx = b.ice_facet(f)"; _out << nl << "Try"; _out.inc(); _out << nl << "If bb.ice_isA(\"" << p->scoped() << "\", ctx) Then"; @@ -3897,7 +3897,7 @@ Slice::Gen::HelperVisitor::visitClassDefStart(const ClassDefPtr& p) _out << nl << "Return Nothing"; _out.dec(); _out << nl << "End If"; - _out << nl << "Dim bb As Ice.ObjectPrx = b.ice_newFacet(f)"; + _out << nl << "Dim bb As Ice.ObjectPrx = b.ice_facet(f)"; _out << nl << "Dim h As " << name << "PrxHelper = new " << name << "PrxHelper()"; _out << nl << "h.copyFrom__(bb)"; _out << nl << "Return h"; |