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

@@ -28,7 +28,6 @@ import org.springframework.web.bind.annotation.*;
import org.springframework.web.servlet.ModelAndView;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
@@ -116,7 +115,7 @@ public class TransformerController extends BaseController {
case PNG:
result = this.transformPng(svg);
break;
case JPEG:
case JPG:
result = this.transformJpeg(svg);
break;
case PDF: