summaryrefslogtreecommitdiff
path: root/stoc/source/invocation_adapterfactory/iafactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/invocation_adapterfactory/iafactory.cxx')
-rw-r--r--stoc/source/invocation_adapterfactory/iafactory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/invocation_adapterfactory/iafactory.cxx b/stoc/source/invocation_adapterfactory/iafactory.cxx
index b8d4682b92b3..6fb7c6fd5a73 100644
--- a/stoc/source/invocation_adapterfactory/iafactory.cxx
+++ b/stoc/source/invocation_adapterfactory/iafactory.cxx
@@ -324,7 +324,7 @@ inline bool AdapterImpl::coerce_construct(
static void handleInvokExc( uno_Any * pDest, uno_Any * pSource )
{
OUString const & name =
- *reinterpret_cast< OUString const * >( &pSource->pType->pTypeName );
+ OUString::unacquired( &pSource->pType->pTypeName );
if ( name == "com.sun.star.reflection.InvocationTargetException" )
{