diff options
Diffstat (limited to 'bridges/source/cpp_uno/gcc3_linux_hppa/except.cxx')
-rw-r--r-- | bridges/source/cpp_uno/gcc3_linux_hppa/except.cxx | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_hppa/except.cxx b/bridges/source/cpp_uno/gcc3_linux_hppa/except.cxx index 754117dd94d5..73d0b7132f05 100644 --- a/bridges/source/cpp_uno/gcc3_linux_hppa/except.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_hppa/except.cxx @@ -230,8 +230,7 @@ namespace CPPU_CURRENT_NAMESPACE { throw RuntimeException( OUString("cannot get typedescription for type ") + - *reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ), - Reference< XInterface >() ); + *reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ) ); } pCppExc = __cxa_allocate_exception( pTypeDescr->nSize ); @@ -261,8 +260,7 @@ namespace CPPU_CURRENT_NAMESPACE { throw RuntimeException( OUString("no rtti for type ") + - *reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ), - Reference< XInterface >() ); + *reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ) ); } } @@ -279,9 +277,7 @@ namespace CPPU_CURRENT_NAMESPACE { if (! header) { - RuntimeException aRE( - OUString("no exception header!"), - Reference< XInterface >() ); + RuntimeException aRE( "no exception header!" ); Type const & rType = ::getCppuType( &aRE ); uno_type_any_constructAndConvert( pUnoExc, &aRE, rType.getTypeLibType(), pCpp2Uno ); #if OSL_DEBUG_LEVEL > 0 @@ -301,8 +297,7 @@ namespace CPPU_CURRENT_NAMESPACE if (0 == pExcTypeDescr) { RuntimeException aRE( - OUString("exception type not found: ") + unoName, - Reference< XInterface >() ); + OUString("exception type not found: ") + unoName ); Type const & rType = ::getCppuType( &aRE ); uno_type_any_constructAndConvert( pUnoExc, &aRE, rType.getTypeLibType(), pCpp2Uno ); #if OSL_DEBUG_LEVEL > 0 |