diff options
author | August Sodora <augsod@gmail.com> | 2012-01-11 10:47:56 -0500 |
---|---|---|
committer | August Sodora <augsod@gmail.com> | 2012-01-11 18:32:12 -0500 |
commit | a140141e272854110e2e164be69c35839631a0e0 (patch) | |
tree | 5274402c5a3a6162852a90d8a39fc6f2ad9c926b /cui/source | |
parent | Include .res files, a fonts.conf, and other hacking (diff) | |
download | core-a140141e272854110e2e164be69c35839631a0e0.tar.gz core-a140141e272854110e2e164be69c35839631a0e0.zip |
SvStringsDtor->std::vector
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/tabpages/numfmt.cxx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx index be12b14cca5d..350764495c9a 100644 --- a/cui/source/tabpages/numfmt.cxx +++ b/cui/source/tabpages/numfmt.cxx @@ -1730,15 +1730,14 @@ void SvxNumberFormatTabPage::SetOkHdl( const Link& rOkHandler ) void SvxNumberFormatTabPage::FillCurrencyBox() { - SvStringsDtor aList; + std::vector<rtl::OUString> aList; + sal_uInt16 nSelPos=0; + pNumFmtShell->GetCurrencySymbols(aList, &nSelPos); - pNumFmtShell->GetCurrencySymbols( aList, &nSelPos); + for(std::vector<rtl::OUString>::iterator i = aList.begin() + 1;i != aList.end(); ++i) + aLbCurrency.InsertEntry(*i); - for(sal_uInt16 i=1;i<aList.Count();i++) - { - aLbCurrency.InsertEntry( *aList[i] ); - } aLbCurrency.SelectEntryPos(nSelPos); } |