if (layout.isIconImage()) {
Image image = ImageLocalServiceUtil.getImage(
layout.getIconImageId());
if (image != null) {
String iconPath = getLayoutIconPath(context, layout, image);
<BUG>layoutEl.addElement("icon-image-path").addText(iconPath);
</BUG>
context.addZipEntry(iconPath, image.getTextObj());
}
}

if (layout.isIconImage()) {
Image image = ImageLocalServiceUtil.getImage(
layout.getIconImageId());
if (image != null) {
String iconPath = getLayoutIconPath(context, layout, image);
layoutElement.addElement("icon-image-path").addText(iconPath);
context.addZipEntry(iconPath, image.getTextObj());
}
}
