Correct check after memory allocation.
Correct check after memory allocation.

ppenum is already tested for NULL at the beginning of the function.
What is intended here is to know if the memory allocation succeeded.

Found by cppcheck.

Change-Id: I31a3bed93b5dfe1a4d384478267f7c8cc0421181

JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core