summaryrefslogtreecommitdiff
path: root/xmlscript
diff options
context:
space:
mode:
Diffstat (limited to 'xmlscript')
-rw-r--r--xmlscript/source/inc/misc.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlscript/source/inc/misc.hxx b/xmlscript/source/inc/misc.hxx
index 79b447a76e49..e8ece5e64d0c 100644
--- a/xmlscript/source/inc/misc.hxx
+++ b/xmlscript/source/inc/misc.hxx
@@ -31,7 +31,7 @@ inline void extract_throw( T * p, ::com::sun::star::uno::Any const & a )
if (! (a >>= *p))
{
throw ::com::sun::star::uno::RuntimeException(
- "expected " + ::getCppuType( p ).getTypeName(),
+ "expected " + cppu::UnoType<T>::get().getTypeName(),
::com::sun::star::uno::Reference<
::com::sun::star::uno::XInterface>() );
}