PPTXPNG - parent directory of relative input file was null

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881418 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andreas Beeker 2020-09-03 19:26:33 +00:00
parent ea43beeba7
commit 33bc915578

View File

@ -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()) {