]> source.dussan.org Git - poi.git/commitdiff
Bug 61584: Fix XDGFPage variable typo causing crash
authorDustin Spicuzza <virtuald@apache.org>
Mon, 16 Oct 2017 01:35:31 +0000 (01:35 +0000)
committerDustin Spicuzza <virtuald@apache.org>
Mon, 16 Oct 2017 01:35:31 +0000 (01:35 +0000)
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

index 388d50a25bf4a1261676f4c858b79967e60252e8..9a416511614c84ca9ee94e8a6e334b00755f2528 100644 (file)
@@ -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);