ICU-2689 fix compiler err

X-SVN-Rev: 10980
This commit is contained in:
Alan Liu 2003-02-06 19:54:37 +00:00
parent 5522a8521c
commit cf78ad6b4f

View File

@ -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);