jdk/src/share/native/sun/font/layout/IndicReordering.cpp
changeset 16891 91e99bed64ae
parent 16889 3df90f344221
child 22330 cafb826672bd
equal deleted inserted replaced
16890:36b30720a997 16891:91e99bed64ae
   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;