summaryrefslogtreecommitdiff
path: root/i18npool/source/ordinalsuffix/ordinalsuffix.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/source/ordinalsuffix/ordinalsuffix.cxx')
-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 3d7f560c8b78..4124c92fc588 100644
--- a/i18npool/source/ordinalsuffix/ordinalsuffix.cxx
+++ b/i18npool/source/ordinalsuffix/ordinalsuffix.cxx
@@ -98,8 +98,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;
@@ -114,8 +114,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;