Just use Any ctor instead of makeAny in cli_ure

Change-Id: Iae41d9c4b600635bd5e2e61b65ea3859a14e6a1d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133840
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann 2022-05-04 19:34:01 +02:00
parent eae2e1d6d6
commit 345d461128

View file

@ -395,12 +395,12 @@ SAL_IMPLEMENT_MAIN()
std::vector< rtl::Reference< unoidl::Provider > > unoidlMandatoryProvs;
for (auto& rRegistry : extra_registries)
{
xSet->insert(makeAny(rRegistry));
xSet->insert(Any(rRegistry));
unoidlMgr->addProvider(rRegistry);
}
for (auto& rRegistry : mandatory_registries)
{
xSet->insert(makeAny(rRegistry));
xSet->insert(Any(rRegistry));
rtl::Reference< unoidl::Provider > prov(unoidlMgr->addProvider(rRegistry));
unoidlMandatoryProvs.push_back(prov);
}