/*
/ *
- * (C) Copyright IBM Corp. 1998-2013 - All Rights Reserved
+ * (C) Copyright IBM Corp. 1998-2015 - All Rights Reserved
*
*/
MPreFixups *mpreFixups = NULL;
const IndicClassTable *classTable = IndicClassTable::getScriptClassTable(scriptCode);
- if(classTable==NULL) {
- success = LE_MEMORY_ALLOCATION_ERROR;
- return 0;
+ if (classTable==NULL) {
+ success = LE_INTERNAL_ERROR;
+ return 0;
}
if (classTable->scriptFlags & SF_MPRE_FIXUP) {
LEUnicode *outChars, LEGlyphStorage &glyphStorage)
{
const IndicClassTable *classTable = IndicClassTable::getScriptClassTable(scriptCode);
+ if (classTable == NULL) {
+ return 0;
+ }
DynamicProperties dynProps[INDIC_BLOCK_SIZE];
IndicReordering::getDynamicProperties(dynProps,classTable);