From: Jeremias Maerki Date: Sat, 15 Mar 2003 17:02:49 +0000 (+0000) Subject: Make sure no NPE's are happening. (Setting a NullLogger for now. Revisiting next... X-Git-Tag: Alt-Design-integration-base~6 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f0fb9e290eaa1be95d590b56e21a54d7c4b862b5;p=xmlgraphics-fop.git 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 --- 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();