Just use Any ctor instead of makeAny in xmlhelp

Change-Id: I1e8d144e8a011868bdd0083bccd90ee80eabbe66
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133701
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann 2022-05-02 14:28:01 +02:00
parent 7ae3fbe108
commit 75fe405132

View file

@ -762,7 +762,7 @@ TVChildTarget::getHierAccess( const Reference< XMultiServiceFactory >& sProvider
{
xHierAccess =
Reference< XHierarchicalNameAccess >
( sProvider->createInstanceWithArguments( "com.sun.star.configuration.ConfigurationAccess", { makeAny(OUString::createFromAscii(file)) }),
( sProvider->createInstanceWithArguments( "com.sun.star.configuration.ConfigurationAccess", { Any(OUString::createFromAscii(file)) }),
UNO_QUERY );
}
catch( const css::uno::Exception& )