summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-08 15:53:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-09 07:48:18 +0000
commit389999abdb2d35f8641a6ff2e8984887166d39e2 (patch)
tree746ae9503700b07bb84938c8899a24aeb8b8fcd8 /stoc
parent57998f642de65bdcb72742abd8ab94a26840a31d (diff)
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 <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/implementationregistration/implreg.cxx2
-rw-r--r--stoc/source/servicemanager/servicemanager.cxx2
2 files changed, 2 insertions, 2 deletions
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<OUString> seqImpl(comphelper::containerToSequence<OUString>(implNames));
+ Sequence<OUString> 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<OUString>(aNameSet);
+ return comphelper::containerToSequence(aNameSet);
}
// XMultiComponentFactory