From 389999abdb2d35f8641a6ff2e8984887166d39e2 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 8 Nov 2016 15:53:21 +0200 Subject: make comphelper::containerToSequence a little smarter So we don't have to specify the source and destination type as often. Change-Id: Id9e286417a1cb246d163cbc3c536b231a4a92624 Reviewed-on: https://gerrit.libreoffice.org/30700 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- stoc/source/implementationregistration/implreg.cxx | 2 +- stoc/source/servicemanager/servicemanager.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'stoc') diff --git a/stoc/source/implementationregistration/implreg.cxx b/stoc/source/implementationregistration/implreg.cxx index 3ede86fb2836..f01737a651a1 100644 --- a/stoc/source/implementationregistration/implreg.cxx +++ b/stoc/source/implementationregistration/implreg.cxx @@ -1624,7 +1624,7 @@ Sequence< OUString > ImplementationRegistration::getImplementations( if (!implNames.empty()) { - Sequence seqImpl(comphelper::containerToSequence(implNames)); + Sequence seqImpl(comphelper::containerToSequence(implNames)); xImpl->closeKey(); return seqImpl; } diff --git a/stoc/source/servicemanager/servicemanager.cxx b/stoc/source/servicemanager/servicemanager.cxx index 2aec83c41396..3dd9274d5b07 100644 --- a/stoc/source/servicemanager/servicemanager.cxx +++ b/stoc/source/servicemanager/servicemanager.cxx @@ -851,7 +851,7 @@ Sequence< OUString > OServiceManager::getUniqueAvailableServiceNames( aNameSet.insert( (*aIt++).first ); */ - return comphelper::containerToSequence(aNameSet); + return comphelper::containerToSequence(aNameSet); } // XMultiComponentFactory -- cgit