WaE: duplicated variable name
Change-Id: Id42116f2ddfe679b1a995590e35a619ff8d82d7e
This commit is contained in:
parent
b4410c4906
commit
fdc76a03f5
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue