Fix PDF export.

This commit is contained in:
Paulo Gustavo Veiga
2012-06-03 18:12:56 -03:00
parent f52a75ac79
commit b914bbb8a8
7 changed files with 7 additions and 10 deletions

View File

@@ -83,7 +83,7 @@ public class TransformView extends AbstractView {
ExporterFactory.export(properties, content, outputStream, null);
} else if (exportFormat == ExportFormat.WISEMAPPING) {
final Object mindmap = viewMap.get("mindmap");
StreamResult result = new StreamResult(outputStream);
final StreamResult result = new StreamResult(outputStream);
jaxbMarshaller.marshal(mindmap, result);
} else {
ExporterFactory.export(properties, null, outputStream, content);