summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-19 09:14:59 +0200
committerNoel Grandin <noel@peralex.com>2015-11-19 09:33:29 +0200
commit2554efabb6d7cd2ad9f7cfdddd0712c25cdca1cd (patch)
tree1b8fd3940910ffcd328e16a53e208c099f67ab21 /toolkit
parentf7b5f477bfd942e0a1d8880c372635000d724dd7 (diff)
use comphelper::containerToSequence
in chart2, we remove a local equivalent of the method Change-Id: I25129a3d1ea1dd724eb9cd38a57be37a78b3d100
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/controls/unocontrols.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx
index f97b99a86356..46b4ceab96af 100644
--- a/toolkit/source/controls/unocontrols.cxx
+++ b/toolkit/source/controls/unocontrols.cxx
@@ -2549,12 +2549,7 @@ void UnoControlListBoxModel::impl_getStringItemList( ::std::vector< OUString >&
void UnoControlListBoxModel::impl_setStringItemList_nolck( const ::std::vector< OUString >& i_rStringItems )
{
- Sequence< OUString > aStringItems( i_rStringItems.size() );
- ::std::copy(
- i_rStringItems.begin(),
- i_rStringItems.end(),
- aStringItems.getArray()
- );
+ Sequence< OUString > aStringItems( comphelper::containerToSequence(i_rStringItems) );
m_xData->m_bSettingLegacyProperty = true;
try
{