]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Fixes a bug where the bitmaps were not loaded at all.
authorJeremias Maerki <jeremias@apache.org>
Tue, 23 Aug 2005 16:07:26 +0000 (16:07 +0000)
committerJeremias Maerki <jeremias@apache.org>
Tue, 23 Aug 2005 16:07:26 +0000 (16:07 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@239424 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/image/JAIImage.java

index 624dbfcbc1ce94bb8afc6e7f525f0a66cf862de7..a3e5a533c084f4bd70984b437c713fd54181c74f 100644 (file)
@@ -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
      */