Browse Source

Checkstyle

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1590916 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-2_0
Simon Steiner 10 years ago
parent
commit
25460e0663

+ 2
- 1
src/java/org/apache/fop/render/bitmap/AbstractBitmapDocumentHandler.java View File

@@ -229,7 +229,8 @@ public abstract class AbstractBitmapDocumentHandler extends AbstractBinaryWritin
}

//Set up bitmap to paint on
if (currentImage == null || currentImage.getWidth() != bitmapWidth || currentImage.getHeight() != bitmapHeight) {
if (currentImage == null || currentImage.getWidth() != bitmapWidth
|| currentImage.getHeight() != bitmapHeight) {
currentImage = createBufferedImage(bitmapWidth, bitmapHeight);
}
Graphics2D graphics2D = this.currentImage.createGraphics();

Loading…
Cancel
Save