aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2009-02-09 09:22:50 +0000
committerJeremias Maerki <jeremias@apache.org>2009-02-09 09:22:50 +0000
commit3ecd333bb52b085733120d58dcb412ff242b3919 (patch)
tree74da2a7adf45641738332626e19d3c5b276ecde7 /src/java/org/apache/fop/render
parentb8219e854ffc86e6911474762ab6a7c9535b9950 (diff)
downloadxmlgraphics-fop-3ecd333bb52b085733120d58dcb412ff242b3919.tar.gz
xmlgraphics-fop-3ecd333bb52b085733120d58dcb412ff242b3919.zip
Added a flush() call in the resource handler to make sure unwritten content is flushed (not a bugfix but a precaution for an experiment I've done).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@742348 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render')
-rw-r--r--src/java/org/apache/fop/render/ps/ResourceHandler.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/render/ps/ResourceHandler.java b/src/java/org/apache/fop/render/ps/ResourceHandler.java
index bdd305164..363745f42 100644
--- a/src/java/org/apache/fop/render/ps/ResourceHandler.java
+++ b/src/java/org/apache/fop/render/ps/ResourceHandler.java
@@ -200,6 +200,7 @@ public class ResourceHandler implements DSCParserConstants, PSSupportedFlavors {
DSCEvent event = parser.nextEvent();
event.generate(gen);
}
+ gen.flush();
}
private static void reportInvalidDSC() throws DSCException {