ICU-2689 fix compiler err
X-SVN-Rev: 10980
This commit is contained in:
parent
5522a8521c
commit
cf78ad6b4f
@ -1302,7 +1302,7 @@ void TransliteratorTest::TestCreateInstance(){
|
||||
UnicodeString expID(DATA[i+2]);
|
||||
Transliterator* t =
|
||||
Transliterator::createInstance(id,dir,err,ec);
|
||||
UnicodeString newID = t?t->getID():"";
|
||||
UnicodeString newID = t?t->getID():UnicodeString();
|
||||
UBool ok = (newID == expID);
|
||||
if (!t) {
|
||||
newID = u_errorName(ec);
|
||||
|
Loading…
Reference in New Issue
Block a user