loplugin:staticcall

Change-Id: I7777ec51b00e11204457dd11359d14c2bcf0e283
This commit is contained in:
Stephan Bergmann
2014-06-13 17:52:08 +02:00
parent 59a0fadda7
commit 06b409a64e

View File

@@ -795,7 +795,7 @@ uno::Any SAL_CALL SvNumberFormatObj::getPropertyValue( const OUString& aProperty
OUString aSymbol, aExt;
bool bBank = false;
pFormat->GetNewCurrencySymbol( aSymbol, aExt );
const NfCurrencyEntry* pCurr = pFormatter->GetCurrencyEntry( bBank,
const NfCurrencyEntry* pCurr = SvNumberFormatter::GetCurrencyEntry( bBank,
aSymbol, aExt, pFormat->GetLanguage() );
if ( pCurr )
aRet <<= OUString( pCurr->GetBankSymbol() );
@@ -858,7 +858,7 @@ uno::Sequence<beans::PropertyValue> SAL_CALL SvNumberFormatObj::getPropertyValue
OUString aAbb;
bool bBank = false;
pFormat->GetNewCurrencySymbol( aSymbol, aExt );
const NfCurrencyEntry* pCurr = pFormatter->GetCurrencyEntry( bBank,
const NfCurrencyEntry* pCurr = SvNumberFormatter::GetCurrencyEntry( bBank,
aSymbol, aExt, pFormat->GetLanguage() );
if ( pCurr )
aAbb = pCurr->GetBankSymbol();