From a52cf476e7cec9d0c70dd4ee93cbd328b66479ad Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sun, 29 Mar 2015 15:13:23 +0200 Subject: Clean up template-parameter-dependent C-style casts Change-Id: Ia1ab134a0afbeeb3ae40264bd4233a47df26b734 --- cpputools/source/unoexe/unoexe.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpputools') diff --git a/cpputools/source/unoexe/unoexe.cxx b/cpputools/source/unoexe/unoexe.cxx index 94c0e113f519..b292deb6e35e 100644 --- a/cpputools/source/unoexe/unoexe.cxx +++ b/cpputools/source/unoexe/unoexe.cxx @@ -174,7 +174,7 @@ void createInstance( rxOut = Reference< T >::query( x ); if (! rxOut.is()) { - const Type & rType = ::getCppuType( (const Reference< T > *)0 ); + const Type & rType = cppu::UnoType::get(); throw RuntimeException( "service instance \"" + rServiceName + "\" does not support demanded interface \"" + -- cgit