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 --- cppuhelper/source/typemanager.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cppuhelper') diff --git a/cppuhelper/source/typemanager.cxx b/cppuhelper/source/typemanager.cxx index 44bf14eab1b7..ed811f03c44f 100644 --- a/cppuhelper/source/typemanager.cxx +++ b/cppuhelper/source/typemanager.cxx @@ -75,7 +75,7 @@ css::uno::Any resolveTypedefs(css::uno::Any const & type) { if (!ind.is() || ind->getTypeClass() != css::uno::TypeClass_TYPEDEF) { return t; } - t = css::uno::makeAny(ind->getReferencedType()); + t <<= ind->getReferencedType(); } } -- cgit