diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2007-03-26 14:49:01 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2007-03-26 14:49:01 +0000 |
commit | 737b4f7ae612af1d35b17c50dc2ed20aa7e62f25 (patch) | |
tree | 4fed4b1451ec87ac5b3fae5df5c5454a814190f9 /cppe/src/IceE/Reference.cpp | |
parent | Temporary fix (diff) | |
download | ice-737b4f7ae612af1d35b17c50dc2ed20aa7e62f25.tar.bz2 ice-737b4f7ae612af1d35b17c50dc2ed20aa7e62f25.tar.xz ice-737b4f7ae612af1d35b17c50dc2ed20aa7e62f25.zip |
Removed StringConverter
Diffstat (limited to 'cppe/src/IceE/Reference.cpp')
-rw-r--r-- | cppe/src/IceE/Reference.cpp | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/cppe/src/IceE/Reference.cpp b/cppe/src/IceE/Reference.cpp index c64f85255bc..859bae7755c 100644 --- a/cppe/src/IceE/Reference.cpp +++ b/cppe/src/IceE/Reference.cpp @@ -217,15 +217,7 @@ IceInternal::Reference::toString() const // the reference parser uses as separators, then we enclose // the facet string in quotes. // - string fs = _facet; - if(_instance->initializationData().stringConverter) - { - UTF8BufferI buffer; - Byte* last = - _instance->initializationData().stringConverter->toUTF8(fs.data(), fs.data() + fs.size(), buffer); - fs = string(reinterpret_cast<const char*>(buffer.getBuffer()), last - buffer.getBuffer()); - } - fs = IceUtil::escapeString(fs, ""); + string fs = IceUtil::escapeString(_facet, ""); if(fs.find_first_of(" :@") != string::npos) { s += "\""; @@ -1011,14 +1003,7 @@ IceInternal::IndirectReference::toString() const // reference parser uses as separators, then we enclose the // adapter id string in quotes. // - string a = _adapterId; - if(getInstance()->initializationData().stringConverter) - { - UTF8BufferI buffer; - Byte* last = getInstance()->initializationData().stringConverter->toUTF8(a.data(), a.data() + a.size(), buffer); - a = string(reinterpret_cast<const char*>(buffer.getBuffer()), last - buffer.getBuffer()); - } - a = IceUtil::escapeString(a, ""); + string a = IceUtil::escapeString(_adapterId, ""); if(a.find_first_of(" ") != string::npos) { result.append("\""); |