From d1a641dd3aab9c79cdecc1e62e7423eee73c8c61 Mon Sep 17 00:00:00 2001 From: plough Date: Thu, 24 May 2018 14:55:03 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-7222=20=E5=AE=89=E5=85=A8=E6=80=A7?= =?UTF-8?q?=E4=B9=8B=E6=B0=B4=E5=8D=B0=3D>=E8=B0=83=E6=95=B4=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/com/fr/design/report/WatermarkPreviewPane.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/designer-base/src/com/fr/design/report/WatermarkPreviewPane.java b/designer-base/src/com/fr/design/report/WatermarkPreviewPane.java index 2099b8a09..6517a9217 100644 --- a/designer-base/src/com/fr/design/report/WatermarkPreviewPane.java +++ b/designer-base/src/com/fr/design/report/WatermarkPreviewPane.java @@ -32,6 +32,6 @@ public class WatermarkPreviewPane extends JPanel { super.paint(g); Graphics2D g2d = (Graphics2D)g; g2d.drawImage(UIConstants.WATERMARK_BACKGROUND, 0, 0, this.getWidth(), this.getHeight(), null); - new WatermarkPainter().paint(watermark, g2d, this.getWidth(), this.getHeight()); + new WatermarkPainter(watermark).paint(g2d, this.getWidth(), this.getHeight()); } }