From 198c41c4fe8be4ce8a6ddab43ae0c5f17a4889ac Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 24 Feb 2017 11:22:18 +0200 Subject: new loplugin unoany Change-Id: I5d6c4a67cb2a09e7cd5bd620c6b262d188701b89 Reviewed-on: https://gerrit.libreoffice.org/34714 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmlhelp/source/treeview/tvread.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmlhelp/source/treeview') diff --git a/xmlhelp/source/treeview/tvread.cxx b/xmlhelp/source/treeview/tvread.cxx index a2732f3a6007..64b7063c69ea 100644 --- a/xmlhelp/source/treeview/tvread.cxx +++ b/xmlhelp/source/treeview/tvread.cxx @@ -626,7 +626,7 @@ ConfigData TVChildTarget::init( const Reference< XComponentContext >& xContext ) beans::PropertyValue aParam ; aParam.Name = "nodepath"; aParam.Value <<= OUString("/org.openoffice.Setup/Product"); - lParams[0] = uno::makeAny(aParam); + lParams[0] <<= aParam; // open it uno::Reference< uno::XInterface > xCFG( xConfigProvider->createInstanceWithArguments( -- cgit