git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198223
13f79535-47bb-0310-9956-
ffa450edef68
/*
- * Copyright 2004 The Apache Software Foundation.
+ * Copyright 2004-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
} else {
if (renderType != Constants.RENDER_PRINT
&& renderType != Constants.RENDER_AWT) {
- if (out == null) {
+ if (out == null && userAgent.getRendererOverride() == null) {
throw new IllegalStateException(
"OutputStream has not been set");
}