aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/fo')
-rw-r--r--src/java/org/apache/fop/fo/FOTreeBuilder.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/java/org/apache/fop/fo/FOTreeBuilder.java b/src/java/org/apache/fop/fo/FOTreeBuilder.java
index 12f5623d6..15cbc3b06 100644
--- a/src/java/org/apache/fop/fo/FOTreeBuilder.java
+++ b/src/java/org/apache/fop/fo/FOTreeBuilder.java
@@ -111,11 +111,6 @@ public class FOTreeBuilder extends DefaultHandler {
} else if (renderType == Constants.RENDER_RTF) {
foInputHandler = new RTFHandler(foUserAgent, stream);
} else {
- if (renderType == Constants.NOT_SET) {
- throw new IllegalStateException(
- "Desired render type not set.");
- }
-
if (renderType < Constants.RENDER_MIN_CONST
|| renderType > Constants.RENDER_MAX_CONST) {
throw new IllegalArgumentException(