diff options
author | Mark Spruiell <mes@zeroc.com> | 2005-11-14 13:47:32 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2005-11-14 13:47:32 +0000 |
commit | 25e4d29353bc5099c3b3ee9ef772edb86aa40758 (patch) | |
tree | 344d463ceae8f11b2e4c3bcd7a2f65d6d360ab5b /cpp/src | |
parent | remove slice2cppe, slice2javae (diff) | |
download | ice-25e4d29353bc5099c3b3ee9ef772edb86aa40758.tar.bz2 ice-25e4d29353bc5099c3b3ee9ef772edb86aa40758.tar.xz ice-25e4d29353bc5099c3b3ee9ef772edb86aa40758.zip |
fix for bug 609
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/slice2freezej/Main.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cpp/src/slice2freezej/Main.cpp b/cpp/src/slice2freezej/Main.cpp index cd2144ee828..742dd125491 100644 --- a/cpp/src/slice2freezej/Main.cpp +++ b/cpp/src/slice2freezej/Main.cpp @@ -110,6 +110,11 @@ FreezeGenerator::varToObject(const TypePtr& type, const string& param) result = string("new java.lang.Double(") + param + ")"; break; } + case Builtin::KindString: + case Builtin::KindObject: + case Builtin::KindObjectProxy: + case Builtin::KindLocalObject: + break; } } return result; @@ -160,6 +165,11 @@ FreezeGenerator::objectToVar(const TypePtr& type, const string& param) result = string("((java.lang.Double)") + param + ").doubleValue()"; break; } + case Builtin::KindString: + case Builtin::KindObject: + case Builtin::KindObjectProxy: + case Builtin::KindLocalObject: + break; } } return result; |