poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiwiwi...@apache.org
Subject svn commit: r1881418 - /poi/trunk/src/ooxml/java/org/apache/poi/xslf/util/PPTX2PNG.java
Date Thu, 03 Sep 2020 19:26:33 GMT
Author: kiwiwings
Date: Thu Sep  3 19:26:33 2020
New Revision: 1881418

URL: http://svn.apache.org/viewvc?rev=1881418&view=rev
Log:
PPTXPNG - parent directory of relative input file was null

Modified:
    poi/trunk/src/ooxml/java/org/apache/poi/xslf/util/PPTX2PNG.java

Modified: poi/trunk/src/ooxml/java/org/apache/poi/xslf/util/PPTX2PNG.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xslf/util/PPTX2PNG.java?rev=1881418&r1=1881417&r2=1881418&view=diff
==============================================================================
--- poi/trunk/src/ooxml/java/org/apache/poi/xslf/util/PPTX2PNG.java (original)
+++ poi/trunk/src/ooxml/java/org/apache/poi/xslf/util/PPTX2PNG.java Thu Sep  3 19:26:33 2020
@@ -213,7 +213,7 @@ public final class PPTX2PNG {
                 usage("When reading from STDIN, you need to specify an outdir.");
                 return false;
             } else {
-                outdir = file.getParentFile();
+                outdir = file.getAbsoluteFile().getParentFile();
             }
         }
         if (!outdir.exists()) {



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message