diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-20 15:22:55 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-20 21:18:35 +0100 |
commit | 3d9103037d00cbb0df37f78ee56d34e2cd8c7065 (patch) | |
tree | 22b033ff44d635864224f37ddea4372b89e80a87 /wizards | |
parent | b1e949ed10053a0bcb4b1cb554814b07009e9512 (diff) |
coverity#1326575 Useless call
also
coverity#1326574 Useless call
Change-Id: Ida860ca8ed1475c88e90fc8aaf608c440453a9a0
Diffstat (limited to 'wizards')
-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(); |