summaryrefslogtreecommitdiff
path: root/pdf-over-gui
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:05:41 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:05:41 +0000
commit9ac4064fb9cf0cc95f2fb32ef9bb476bb1a0016a (patch)
tree8cd28c75e60b87c96a26efebeaa572706e49374e /pdf-over-gui
parent7c499c09c039d1a875d8f4463a0c2816337c8e6d (diff)
downloadpdf-over-9ac4064fb9cf0cc95f2fb32ef9bb476bb1a0016a.tar.gz
pdf-over-9ac4064fb9cf0cc95f2fb32ef9bb476bb1a0016a.tar.bz2
pdf-over-9ac4064fb9cf0cc95f2fb32ef9bb476bb1a0016a.zip
Don't use locale in format strings involving numbers
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@126 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/ConfigProviderImpl.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/ConfigProviderImpl.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/ConfigProviderImpl.java
index cb712678..dc50b60b 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/ConfigProviderImpl.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/ConfigProviderImpl.java
@@ -20,6 +20,7 @@ import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
+import java.util.Locale;
import java.util.Properties;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
@@ -294,7 +295,7 @@ public class ConfigProviderImpl implements ConfigProvider, ConfigManipulator {
props.setProperty(SIGNATURE_POSITION_CONFIG, "auto"); //$NON-NLS-1$
} else {
props.setProperty(SIGNATURE_POSITION_CONFIG,
- String.format("x=%f;y=%f;p=%d", //$NON-NLS-1$
+ String.format((Locale) null, "x=%f;y=%f;p=%d", //$NON-NLS-1$
pos.getX(), pos.getY(), pos.getPage()));
}