diff options
Diffstat (limited to 'svx/source/tbxctrls')
-rw-r--r-- | svx/source/tbxctrls/tbcontrl.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index 41b4e8ed3f54..4eb42448dd37 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -2018,10 +2018,7 @@ SvxCurrencyList_Impl::SvxCurrencyList_Impl( m_pCurrencyLb->InsertEntry( *i ); const NfCurrencyEntry& aCurrencyEntry = rCurrencyTable[ rCurrencyIndex ]; - if ( nPos < nLen ) - bIsSymbol = false; - else - bIsSymbol = true; + bIsSymbol = nPos >= nLen; sal_uInt16 nDefaultFormat = aFormatter.GetCurrencyFormatStrings( aStringsDtor, aCurrencyEntry, bIsSymbol ); const OUString& rFormatStr = aStringsDtor[ nDefaultFormat ]; |