summaryrefslogtreecommitdiffstats
path: root/cpputools
diff options
context:
space:
mode:
Diffstat (limited to 'cpputools')
-rw-r--r--cpputools/source/unoexe/unoexe.cxx2
1 files changed, 1 insertions, 1 deletions
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<T>::get();
throw RuntimeException(
"service instance \"" + rServiceName +
"\" does not support demanded interface \"" +