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 --- fpicker/source/office/fpsmartcontent.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpicker') diff --git a/fpicker/source/office/fpsmartcontent.cxx b/fpicker/source/office/fpsmartcontent.cxx index c8777e7e239c..7188e34a7973 100644 --- a/fpicker/source/office/fpsmartcontent.cxx +++ b/fpicker/source/office/fpsmartcontent.cxx @@ -315,7 +315,7 @@ namespace svt Sequence< OUString > aNames { "Title" }; Sequence< Any > aValues( 1 ); Any* pValues = aValues.getArray(); - pValues[0] = makeAny( _rTitle ); + pValues[0] <<= _rTitle; m_pContent->insertNewContent( sFolderType, aNames, aValues, aCreated ); aCreatedUrl = aCreated.getURL(); -- cgit