coverity#1219715 dereference after null check
coverity#1219715 dereference after null check

Change-Id: I36ddbef50da52dcf1e22b47d94a759606fd818a2

LibreOffice/libmspub,LibreOffice/libmspub,LibreOffice/libmspub