Use contstructor instead of assignment, fixes unittest in sc.

This commit is contained in:
Jan Holesovsky 2011-02-15 09:44:21 +01:00
parent 096b74e272
commit ddbef3da19

View file

@ -3461,7 +3461,7 @@ const NfCurrencyEntry* SvNumberFormatter::GetCurrencyEntry( BOOL & bFoundBank,
void SvNumberFormatter::GetCompatibilityCurrency( String& rSymbol, String& rAbbrev ) const
{
::com::sun::star::uno::Sequence< ::com::sun::star::i18n::Currency2 >
xCurrencies = xLocaleData->getAllCurrencies();
xCurrencies( xLocaleData->getAllCurrencies() );
sal_Int32 nCurrencies = xCurrencies.getLength();
sal_Int32 j;
for ( j=0; j < nCurrencies; ++j )