From: Dustin Spicuzza Date: Mon, 16 Oct 2017 01:35:31 +0000 (+0000) Subject: Bug 61584: Fix XDGFPage variable typo causing crash X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ab147e99987933cad4b12fc76c26852d6d7da4fe;p=poi.git Bug 61584: Fix XDGFPage variable typo causing crash git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1812240 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/ooxml/java/org/apache/poi/xdgf/usermodel/XDGFPage.java b/src/ooxml/java/org/apache/poi/xdgf/usermodel/XDGFPage.java index 388d50a25b..9a41651161 100644 --- a/src/ooxml/java/org/apache/poi/xdgf/usermodel/XDGFPage.java +++ b/src/ooxml/java/org/apache/poi/xdgf/usermodel/XDGFPage.java @@ -99,7 +99,7 @@ public class XDGFPage { if (xoffcell != null) xoffset = Double.parseDouble(xoffcell.getValue()); - if (xoffcell != null) + if (yoffcell != null) yoffset = Double.parseDouble(yoffcell.getValue()); return new Point2D.Double(xoffset, yoffset);