diff options
-rw-r--r-- | wizards/com/sun/star/wizards/common/FileAccess.java | 1 | ||||
-rw-r--r-- | wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/wizards/com/sun/star/wizards/common/FileAccess.java b/wizards/com/sun/star/wizards/common/FileAccess.java index 14f77ed4d312..d664b28bc5be 100644 --- a/wizards/com/sun/star/wizards/common/FileAccess.java +++ b/wizards/com/sun/star/wizards/common/FileAccess.java @@ -213,7 +213,6 @@ public class FileAccess Locale aLocale = (Locale) Helper.getUnoStructValue(defaults, "CharLocale"); if (aLocale == null) { - java.util.Locale.getDefault(); aLocale = new com.sun.star.lang.Locale(); aLocale.Country = java.util.Locale.getDefault().getCountry(); aLocale.Language = java.util.Locale.getDefault().getLanguage(); diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java b/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java index fc84743e0654..9c723c5f9deb 100644 --- a/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java +++ b/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java @@ -803,7 +803,6 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter XNumberFormatsSupplier x = xFormattedField.getFormatsSupplier(); XNumberFormats xFormats = x.getNumberFormats(); XNumberFormatTypes x3 = UnoRuntime.queryInterface(XNumberFormatTypes.class, xFormats); - Locale.getDefault(); com.sun.star.lang.Locale aLocale = new com.sun.star.lang.Locale(); aLocale.Country = Locale.getDefault().getCountry(); aLocale.Language = Locale.getDefault().getLanguage(); |