瀏覽代碼

Fixes a bug where the bitmaps were not loaded at all.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@239424 13f79535-47bb-0310-9956-ffa450edef68
pull/31/head
Jeremias Maerki 19 年之前
父節點
當前提交
1d347981bc
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. 11
    0
      src/java/org/apache/fop/image/JAIImage.java

+ 11
- 0
src/java/org/apache/fop/image/JAIImage.java 查看文件

@@ -60,6 +60,17 @@ public class JAIImage extends AbstractFopImage {
return this.bitmaps != null;
}
/**
* @see org.apache.fop.image.AbstractFopImage#loadBitmap()
*/
protected boolean loadBitmap() {
if (this.bitmaps == null) {
loadImage();
}

return this.bitmaps != null;
}

/**
* Loads the image from the inputstream
*/

Loading…
取消
儲存