keiron 01/09/13 23:43:57
Modified: src/org/apache/fop/svg SVGElement.java
Log:
fixed potential npe
Revision Changes Path
1.11 +3 -2 xml-fop/src/org/apache/fop/svg/SVGElement.java
Index: SVGElement.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/svg/SVGElement.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- SVGElement.java 2001/09/13 07:49:32 1.10
+++ SVGElement.java 2001/09/14 06:43:57 1.11
@@ -1,5 +1,5 @@
/*
- * $Id: SVGElement.java,v 1.10 2001/09/13 07:49:32 keiron Exp $
+ * $Id: SVGElement.java,v 1.11 2001/09/14 06:43:57 keiron Exp $
* Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
* LICENSE file included with these sources.
@@ -163,7 +163,8 @@
String baseDir = Configuration.getStringValue("baseDir");
((SVGOMDocument)doc).setURLObject(new URL(baseDir));
} catch (Exception e) {
- log.error("Could not set base URL for svg", e);
+ // cannot use log yet
+ //log.error("Could not set base URL for svg", e);
}
buildTopLevel(doc, element);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]