summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-11-06 15:13:46 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-11-06 15:13:46 +0000
commitfdc76a03f50e1291a90035befac67b8205c7e770 (patch)
tree59d91533429d08ffae7cd496e5be5256b10aff77 /i18npool
parentb4410c49063a5ba1c005929ffa8fb06b41cfef91 (diff)
WaE: duplicated variable name
Change-Id: Id42116f2ddfe679b1a995590e35a619ff8d82d7e
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/ordinalsuffix/ordinalsuffix.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/i18npool/source/ordinalsuffix/ordinalsuffix.cxx b/i18npool/source/ordinalsuffix/ordinalsuffix.cxx
index 03663b629125..558429aa57ae 100644
--- a/i18npool/source/ordinalsuffix/ordinalsuffix.cxx
+++ b/i18npool/source/ordinalsuffix/ordinalsuffix.cxx
@@ -89,8 +89,8 @@ uno::Sequence< OUString > SAL_CALL OrdinalSuffix::getOrdinalSuffix( sal_Int32 nN
icu::UnicodeString sFormatWithNoOrdinal;
icu::Formattable ftmNumber((int32_t)nNumber);
- icu::FieldPosition icuPos;
- xNumberFormat->format(ftmNumber, sFormatWithNoOrdinal, icuPos, nCode);
+ icu::FieldPosition icuPosA;
+ xNumberFormat->format(ftmNumber, sFormatWithNoOrdinal, icuPosA, nCode);
if (!U_SUCCESS(nCode))
return retValue;
@@ -105,8 +105,8 @@ uno::Sequence< OUString > SAL_CALL OrdinalSuffix::getOrdinalSuffix( sal_Int32 nN
// format the string
icu::UnicodeString sFormatWithOrdinal;
- icu::FieldPosition icuPos;
- formatter.format( (int32_t)nNumber, ruleSet, sFormatWithOrdinal, icuPos, nCode );
+ icu::FieldPosition icuPosB;
+ formatter.format((int32_t)nNumber, ruleSet, sFormatWithOrdinal, icuPosB, nCode);
if (!U_SUCCESS(nCode))
continue;