diff options
Diffstat (limited to 'svx/source/tbxctrls/tbcontrl.cxx')
-rw-r--r-- | svx/source/tbxctrls/tbcontrl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index 38a2f1f9b96b..46538e29f359 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -1905,9 +1905,9 @@ SvxCurrencyList_Impl::SvxCurrencyList_Impl( bIsSymbol = true; sal_uInt16 nDefaultFormat = aFormatter.GetCurrencyFormatStrings( aStringsDtor, aCurrencyEntry, bIsSymbol ); - OUString& pFormatStr = aStringsDtor[ nDefaultFormat ]; - m_aFormatEntries.push_back( pFormatStr ); - if( pFormatStr == m_rSelectedFormat ) + const OUString& rFormatStr = aStringsDtor[ nDefaultFormat ]; + m_aFormatEntries.push_back( rFormatStr ); + if( rFormatStr == m_rSelectedFormat ) nSelectedPos = nPos; ++nPos; } |