From c2db4ae5fb8560acc3a6c66b06fd99eb13d5de0b Mon Sep 17 00:00:00 2001 From: Dustin Spicuzza Date: Mon, 16 Oct 2017 01:35:31 +0000 Subject: [PATCH] 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 --- src/ooxml/java/org/apache/poi/xdgf/usermodel/XDGFPage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);