git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1777063 13f79535-47bb-0310-9956-ffa450edef68tags/REL_3_16_BETA2
@@ -421,8 +421,11 @@ public final class Picture | |||
if ( escherRecord instanceof EscherBSERecord ) | |||
{ | |||
return ( (EscherBSERecord) escherRecord ).getBlipRecord() | |||
.getPicturedata(); | |||
EscherBlipRecord blip = ( (EscherBSERecord) escherRecord ).getBlipRecord(); | |||
if (blip != null) { | |||
return blip.getPicturedata(); | |||
} | |||
} | |||
return new byte[0]; | |||
} |