ICU-5410 Remove untested code as per the agreed policy stated in ticket #2972.
X-SVN-Rev: 21697
This commit is contained in:
parent
ba5eaaf5e1
commit
b874dd50a1
@ -84,7 +84,7 @@ ucsdet_getLanguage(const UCharsetMatch *ucsm, UErrorCode *status)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return (CharsetMatch *) ucsm->getLanguage();
|
||||
return ((CharsetMatch *) ucsm)->getLanguage();
|
||||
}
|
||||
|
||||
U_CAPI const UCharsetMatch * U_EXPORT2
|
||||
@ -94,7 +94,7 @@ ucsdet_detect(UCharsetDetector *ucsd, UErrorCode *status)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return ((CharsetDetector *) ucsd)->detect(*status);
|
||||
return (const UCharsetMatch *) ((CharsetDetector *) ucsd)->detect(*status);
|
||||
}
|
||||
|
||||
U_CAPI void U_EXPORT2
|
||||
|
Loading…
Reference in New Issue
Block a user