From f0fb9e290eaa1be95d590b56e21a54d7c4b862b5 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Sat, 15 Mar 2003 17:02:49 +0000 Subject: [PATCH] Make sure no NPE's are happening. (Setting a NullLogger for now. Revisiting next week.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196105 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/svg/PDFDocumentGraphics2D.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/java/org/apache/fop/svg/PDFDocumentGraphics2D.java b/src/java/org/apache/fop/svg/PDFDocumentGraphics2D.java index 0ac52f075..73aa04572 100644 --- a/src/java/org/apache/fop/svg/PDFDocumentGraphics2D.java +++ b/src/java/org/apache/fop/svg/PDFDocumentGraphics2D.java @@ -108,6 +108,7 @@ public class PDFDocumentGraphics2D extends PDFGraphics2D { } this.pdfDoc = new PDFDocument("FOP SVG Renderer"); + this.pdfDoc.enableLogging(new org.apache.avalon.framework.logger.NullLogger()); graphicsState = new PDFState(); -- 2.39.5