equal
deleted
inserted
replaced
656 } |
656 } |
657 |
657 |
658 MPreFixups *mpreFixups = NULL; |
658 MPreFixups *mpreFixups = NULL; |
659 const IndicClassTable *classTable = IndicClassTable::getScriptClassTable(scriptCode); |
659 const IndicClassTable *classTable = IndicClassTable::getScriptClassTable(scriptCode); |
660 |
660 |
|
661 if(classTable==NULL) { |
|
662 success = LE_MEMORY_ALLOCATION_ERROR; |
|
663 return 0; |
|
664 } |
|
665 |
661 if (classTable->scriptFlags & SF_MPRE_FIXUP) { |
666 if (classTable->scriptFlags & SF_MPRE_FIXUP) { |
662 mpreFixups = new MPreFixups(charCount); |
667 mpreFixups = new MPreFixups(charCount); |
663 if (mpreFixups == NULL) { |
668 if (mpreFixups == NULL) { |
664 success = LE_MEMORY_ALLOCATION_ERROR; |
669 success = LE_MEMORY_ALLOCATION_ERROR; |
665 return 0; |
670 return 0; |