diff options
author | Noel Grandin <noel@peralex.com> | 2012-06-12 17:22:34 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-06-12 23:25:10 +0200 |
commit | 072a67d198120a1e7a0cea16e834e33fcc9631bc (patch) | |
tree | 9caa48888748af352e4bd5e34fee30e176ff00ab /svx | |
parent | Convert SV_DECL_PTRARR(SvBaseLinks) to std::vector (diff) | |
download | core-072a67d198120a1e7a0cea16e834e33fcc9631bc.tar.gz core-072a67d198120a1e7a0cea16e834e33fcc9631bc.zip |
Convert SV_DECL_PTRARR_DEL(NfWSStringsDtor) to std::vector
I had to keep the pointer typedef because MacOS gcc gets
confused otherwise.
Change-Id: I0681585f7273dcac25b2cb835601b29353e2183a
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/items/numfmtsh.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/svx/source/items/numfmtsh.cxx b/svx/source/items/numfmtsh.cxx index d696123ea8b4..b2ee52a00695 100644 --- a/svx/source/items/numfmtsh.cxx +++ b/svx/source/items/numfmtsh.cxx @@ -1026,8 +1026,7 @@ short SvxNumberFormatShell::FillEListWithUserCurrencys( std::vector<String*>& rL } size_t nOldListCount = rList.size(); - for( size_t i = 0, nPos = nOldListCount; - i < static_cast<size_t>(aWSStringsDtor.Count()); ++i ) + for( size_t i = 0, nPos = nOldListCount; i < aWSStringsDtor.size(); ++i ) { bool bFlag = true; String aInsStr(*aWSStringsDtor[i]); @@ -1792,7 +1791,7 @@ bool SvxNumberFormatShell::IsInTable(sal_uInt16 nPos,bool bTmpBanking,const Stri pFormatter->GetCurrencyFormatStrings( aWSStringsDtor, *pTmpCurrencyEntry, bTmpBanking ); - for(sal_uInt16 i=0;i<aWSStringsDtor.Count();i++) + for(sal_uInt16 i=0;i<aWSStringsDtor.size();i++) { if(*aWSStringsDtor[i]==rFmtString) { |