diff options
Diffstat (limited to 'poi-examples')
-rw-r--r-- | poi-examples/src/main/java/org/apache/poi/examples/xslf/SmartArtConversionDemo.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/poi-examples/src/main/java/org/apache/poi/examples/xslf/SmartArtConversionDemo.java b/poi-examples/src/main/java/org/apache/poi/examples/xslf/SmartArtConversionDemo.java index 95f9f9add4..56bc53d5b1 100644 --- a/poi-examples/src/main/java/org/apache/poi/examples/xslf/SmartArtConversionDemo.java +++ b/poi-examples/src/main/java/org/apache/poi/examples/xslf/SmartArtConversionDemo.java @@ -17,6 +17,7 @@ package org.apache.poi.examples.xslf; import org.apache.poi.ooxml.POIXMLDocumentPart; +import org.apache.poi.util.LocaleUtil; import org.apache.poi.xslf.usermodel.*; import org.openxmlformats.schemas.drawingml.x2006.main.CTBlip; import org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties; @@ -48,7 +49,7 @@ public class SmartArtConversionDemo { File inputFile = new File(args[0]); if (!inputFile.exists()) { - System.out.printf("Unable to find input file at path: %s", args[0]); + System.out.printf(LocaleUtil.getUserLocale(), "Unable to find input file at path: %s", args[0]); System.exit(1); } |