revert change to try fix build

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866962 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2019-09-15 10:05:42 +00:00
parent 93b992712a
commit 5245be1733
1 changed files with 2 additions and 3 deletions

View File

@ -216,9 +216,8 @@ public class PPTX2PNG {
break;
}
final int width = Math.toIntExact(Math.round(pgsize.getWidth() * scale / lenSide));
final int height = Math.toIntExact(Math.round(pgsize.getHeight() * scale / lenSide));
final int width = (int) Math.rint(pgsize.getWidth() * scale / lenSide);
final int height = (int) Math.rint(pgsize.getHeight() * scale / lenSide);
for (int slideNo : slidenum) {
proxy.setSlideNo(slideNo);