Browse Source

fixed potential npe


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194463 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-0_20_3
Keiron Liddle 23 years ago
parent
commit
cfc68bba0f
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/org/apache/fop/svg/SVGElement.java

+ 2
- 1
src/org/apache/fop/svg/SVGElement.java View File

@@ -163,7 +163,8 @@ public class SVGElement extends SVGObj {
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);
}

Loading…
Cancel
Save