diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-06-12 21:53:44 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-06-12 23:25:16 +0200 |
commit | 6ec1108370d9e27f3e75c1a50f9525b06d5a3c82 (patch) | |
tree | 9d57947c91379c912ac7ce05509b47c28e5ada5b /svx/source/items | |
parent | 586df9f1ec5a733082ced2a51f416c8baa2cc914 (diff) |
convert NfWSStringsDtor further to vector<OUString>
Change-Id: I4fac64952abf208864281fda722d8b7242689395
Diffstat (limited to 'svx/source/items')
-rw-r--r-- | svx/source/items/numfmtsh.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/svx/source/items/numfmtsh.cxx b/svx/source/items/numfmtsh.cxx index ef25577453bb..014b548af5f1 100644 --- a/svx/source/items/numfmtsh.cxx +++ b/svx/source/items/numfmtsh.cxx @@ -1029,7 +1029,7 @@ short SvxNumberFormatShell::FillEListWithUserCurrencys( std::vector<String*>& rL for( size_t i = 0, nPos = nOldListCount; i < aWSStringsDtor.size(); ++i ) { bool bFlag = true; - String aInsStr(*aWSStringsDtor[i]); + String aInsStr(aWSStringsDtor[i]); size_t j; for( j=0; j < aList.size(); ++j ) { @@ -1771,7 +1771,8 @@ sal_uInt16 SvxNumberFormatShell::FindCurrencyFormat(const NfCurrencyEntry* pTmpC return (sal_uInt16) -1; } -bool SvxNumberFormatShell::IsInTable(sal_uInt16 nPos,bool bTmpBanking,const String &rFmtString) +bool SvxNumberFormatShell::IsInTable(sal_uInt16 const nPos, + bool const bTmpBanking, ::rtl::OUString const& rFmtString) { bool bFlag=false; @@ -1793,7 +1794,7 @@ bool SvxNumberFormatShell::IsInTable(sal_uInt16 nPos,bool bTmpBanking,const Stri for(sal_uInt16 i=0;i<aWSStringsDtor.size();i++) { - if(*aWSStringsDtor[i]==rFmtString) + if (aWSStringsDtor[i] == rFmtString) { bFlag=true; break; |