diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2007-07-20 12:35:54 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2007-07-20 12:35:54 -0230 |
commit | d5449422a0da8293c1116a8585d942fc626bcfac (patch) | |
tree | c07128d9d38f6e9f4036e560adc4efa2d6aef640 /cpp/src/Ice/ReferenceFactory.cpp | |
parent | Adding missing Windows projects for evictor demos. (diff) | |
download | ice-d5449422a0da8293c1116a8585d942fc626bcfac.tar.bz2 ice-d5449422a0da8293c1116a8585d942fc626bcfac.tar.xz ice-d5449422a0da8293c1116a8585d942fc626bcfac.zip |
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=2303 - do not call toUTF8/fromUTF8 with empty string
Diffstat (limited to 'cpp/src/Ice/ReferenceFactory.cpp')
-rw-r--r-- | cpp/src/Ice/ReferenceFactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/ReferenceFactory.cpp b/cpp/src/Ice/ReferenceFactory.cpp index 5ba3c621c12..4c055017f68 100644 --- a/cpp/src/Ice/ReferenceFactory.cpp +++ b/cpp/src/Ice/ReferenceFactory.cpp @@ -541,7 +541,7 @@ IceInternal::ReferenceFactory::create(const string& str) throw ex; } - if(_instance->initializationData().stringConverter) + if(_instance->initializationData().stringConverter && !adapter.empty()) { string tmpAdapter; _instance->initializationData().stringConverter->fromUTF8( |