diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2012-06-09 17:15:22 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-06-12 23:25:10 +0200 |
commit | 6d0961d194b02707faab5fb64207b8dc40488c2b (patch) | |
tree | 72075c8d40a143ca5fdd7a3a72a3bc89b4e26e13 /cui | |
parent | Convert SV_DECL_PTRARR_DEL(NfWSStringsDtor) to std::vector (diff) | |
download | core-6d0961d194b02707faab5fb64207b8dc40488c2b.tar.gz core-6d0961d194b02707faab5fb64207b8dc40488c2b.zip |
Convert SV_DECL_PTRARR_DEL(NfCurrencyTable) to boost::ptr_vector
Change-Id: I4e288a90f3b1662462ba06053343c8bab5fe46cf
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optgdlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index 762ec3d78d83..40fd21e79a3a 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -1356,11 +1356,11 @@ OfaLanguagesTabPage::OfaLanguagesTabPage( Window* pParent, const SfxItemSet& rSe aCurrencyLB.InsertEntry( aDefaultCurr ); // all currencies String aTwoSpace( RTL_CONSTASCII_USTRINGPARAM( " " ) ); - sal_uInt16 nCurrCount = rCurrTab.Count(); + sal_uInt16 nCurrCount = rCurrTab.size(); // first entry is SYSTEM, skip it for ( sal_uInt16 j=1; j < nCurrCount; ++j ) { - const NfCurrencyEntry* pCurr = rCurrTab[j]; + const NfCurrencyEntry* pCurr = &rCurrTab[j]; String aStr_( pCurr->GetBankSymbol() ); aStr_ += aTwoSpace; aStr_ += pCurr->GetSymbol(); |