git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884966 13f79535-47bb-0310-9956-ffa450edef68tags/REL_5_0_0
final Insets2D insets = fill.getInsets(); | final Insets2D insets = fill.getInsets(); | ||||
final Insets2D stretch = fill.getStretch(); | final Insets2D stretch = fill.getStretch(); | ||||
if ((insets == null || INSETS_EMPTY.equals(insets)) && (stretch == null)) { | |||||
if ((insets == null || INSETS_EMPTY.equals(insets)) && (stretch == null) || userBounds == null || userBounds.isEmpty()) { | |||||
return bi; | return bi; | ||||
} | } | ||||