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 --- basic/source/uno/namecont.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'basic/source/uno') diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx index 221c2d30fcd4..15d27b713cb2 100644 --- a/basic/source/uno/namecont.cxx +++ b/basic/source/uno/namecont.cxx @@ -2993,14 +2993,14 @@ Any SAL_CALL SfxLibrary::queryInterface( const Type& rType ) { Any aRet; - aRet = Any( + aRet = ::cppu::queryInterface( rType, static_cast< XContainer * >( this ), static_cast< XNameContainer * >( this ), static_cast< XNameAccess * >( this ), static_cast< XElementAccess * >( this ), - static_cast< XChangesNotifier * >( this ) ) ); + static_cast< XChangesNotifier * >( this ) ); if( !aRet.hasValue() ) { aRet = OComponentHelper::queryInterface( rType ); -- cgit