diff options
Diffstat (limited to 'src/java/org/apache/fop/render/awt/AWTRenderer.java')
-rw-r--r-- | src/java/org/apache/fop/render/awt/AWTRenderer.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/awt/AWTRenderer.java b/src/java/org/apache/fop/render/awt/AWTRenderer.java index 5287bd15d..37169d7e2 100644 --- a/src/java/org/apache/fop/render/awt/AWTRenderer.java +++ b/src/java/org/apache/fop/render/awt/AWTRenderer.java @@ -39,6 +39,7 @@ import java.io.IOException; import org.apache.fop.apps.FOPException; import org.apache.fop.apps.FOUserAgent; +import org.apache.fop.apps.MimeConstants; import org.apache.fop.area.Area; import org.apache.fop.area.PageViewport; import org.apache.fop.datatypes.ColorType; @@ -56,7 +57,7 @@ import org.apache.fop.render.java2d.Java2DRenderer; public class AWTRenderer extends Java2DRenderer implements Pageable { /** The MIME type for AWT-Rendering */ - public static final String MIME_TYPE = "application/X-awt"; + public static final String MIME_TYPE = MimeConstants.MIME_FOP_AWT_PREVIEW; /** The resource bundle used for AWT messages. */ protected Translator translator = null; |