summaryrefslogtreecommitdiff
path: root/bridges/source/cpp_uno/gcc3_linux_intel
diff options
context:
space:
mode:
Diffstat (limited to 'bridges/source/cpp_uno/gcc3_linux_intel')
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_intel/except.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx b/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx
index 9ccdd35364e4..c36e1d9d2dfe 100644
--- a/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx
@@ -218,7 +218,7 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp )
#if OSL_DEBUG_LEVEL > 1
OString cstr(
OUStringToOString(
- *reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ),
+ OUString::unacquired( &pUnoExc->pType->pTypeName ),
RTL_TEXTENCODING_ASCII_US ) );
fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() );
#endif
@@ -234,7 +234,7 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp )
{
throw RuntimeException(
"cannot get typedescription for type " +
- *reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ) );
+ OUString::unacquired( &pUnoExc->pType->pTypeName ) );
}
pCppExc = __cxxabiv1::__cxa_allocate_exception( pTypeDescr->nSize );
@@ -264,7 +264,7 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp )
{
throw RuntimeException(
"no rtti for type " +
- *reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ) );
+ OUString::unacquired( &pUnoExc->pType->pTypeName ) );
}
}