[Libreoffice-commits] .: svl/source
Jan Holesovsky
kendy at kemper.freedesktop.org
Tue Feb 15 01:24:34 PST 2011
svl/source/numbers/zforlist.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 03225023fd48a37ed81848ec8c51964e1b5a422e
Author: Jan Holesovsky <kendy at noe.suse.cz>
Date: Tue Feb 15 09:44:21 2011 +0100
Use contstructor instead of assignment, fixes unittest in sc.
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx
index 48c1fe7..dba04fe 100644
--- a/svl/source/numbers/zforlist.cxx
+++ b/svl/source/numbers/zforlist.cxx
@@ -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 )
More information about the Libreoffice-commits
mailing list