From 2554efabb6d7cd2ad9f7cfdddd0712c25cdca1cd Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 19 Nov 2015 09:14:59 +0200 Subject: use comphelper::containerToSequence in chart2, we remove a local equivalent of the method Change-Id: I25129a3d1ea1dd724eb9cd38a57be37a78b3d100 --- unotools/source/misc/syslocale.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'unotools') diff --git a/unotools/source/misc/syslocale.cxx b/unotools/source/misc/syslocale.cxx index 303b31bedc46..e93e620a5049 100644 --- a/unotools/source/misc/syslocale.cxx +++ b/unotools/source/misc/syslocale.cxx @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include @@ -106,10 +107,7 @@ void SvtSysLocale_Impl::setDateAcceptancePatternsConfig() if (!aTok.isEmpty()) aVec.push_back( aTok); } - uno::Sequence< OUString > aSeq( aVec.size()); - for (sal_Int32 i=0; i < aSeq.getLength(); ++i) - aSeq[i] = aVec[i]; - pLocaleData->setDateAcceptancePatterns( aSeq); + pLocaleData->setDateAcceptancePatterns( comphelper::containerToSequence(aVec) ); } } -- cgit