summaryrefslogtreecommitdiff
path: root/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx')
-rw-r--r--i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx b/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx
index 0bc9b1870116..4a44dd841791 100644
--- a/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx
+++ b/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx
@@ -364,7 +364,7 @@ void lcl_formatChars( const sal_Unicode table[], int tableSize, int n, OUString&
if( n>=tableSize ) lcl_formatChars( table, tableSize, (n-tableSize)/tableSize, s );
- s += OUStringLiteral1( table[ n % tableSize ] );
+ s += OUStringChar( table[ n % tableSize ] );
}
static
@@ -377,7 +377,7 @@ void lcl_formatChars1( const sal_Unicode table[], int tableSize, int n, OUString
int repeat_count = n / tableSize + 1;
for( int i=0; i<repeat_count; i++ )
- s += OUStringLiteral1( table[ n%tableSize ] );
+ s += OUStringChar( table[ n%tableSize ] );
}
static
@@ -389,9 +389,9 @@ void lcl_formatChars2( const sal_Unicode table_capital[], const sal_Unicode tabl
if( n>=tableSize )
{
lcl_formatChars2( table_capital, table_small, tableSize, (n-tableSize)/tableSize, s );
- s += OUStringLiteral1( table_small[ n % tableSize ] );
+ s += OUStringChar( table_small[ n % tableSize ] );
} else
- s += OUStringLiteral1( table_capital[ n % tableSize ] );
+ s += OUStringChar( table_capital[ n % tableSize ] );
}
static
@@ -401,10 +401,10 @@ void lcl_formatChars3( const sal_Unicode table_capital[], const sal_Unicode tabl
// if A=='A' then 0=>A, 1=>B, ..., 25=>Z, 26=>Aa, 27=>Bb, ...
int repeat_count = n / tableSize + 1;
- s += OUStringLiteral1( table_capital[ n%tableSize ] );
+ s += OUStringChar( table_capital[ n%tableSize ] );
for( int i=1; i<repeat_count; i++ )
- s += OUStringLiteral1( table_small[ n%tableSize ] );
+ s += OUStringChar( table_small[ n%tableSize ] );
}