You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by je...@apache.org on 2005/08/23 18:07:29 UTC
svn commit: r239424 -
/xmlgraphics/fop/trunk/src/java/org/apache/fop/image/JAIImage.java
Author: jeremias
Date: Tue Aug 23 09:07:26 2005
New Revision: 239424
URL: http://svn.apache.org/viewcvs?rev=239424&view=rev
Log:
Fixes a bug where the bitmaps were not loaded at all.
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/image/JAIImage.java
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/image/JAIImage.java
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/src/java/org/apache/fop/image/JAIImage.java?rev=239424&r1=239423&r2=239424&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/image/JAIImage.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/image/JAIImage.java Tue Aug 23 09:07:26 2005
@@ -61,6 +61,17 @@
}
/**
+ * @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
*/
protected void loadImage() {
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org