diff options
author | Daniel Boelzle <dbo@openoffice.org> | 2001-04-11 13:07:49 +0000 |
---|---|---|
committer | Daniel Boelzle <dbo@openoffice.org> | 2001-04-11 13:07:49 +0000 |
commit | 3471c406d17457841dbdcad1dde9d7652493c4dd (patch) | |
tree | 7c6973d6c25ad2521dccb3ac16cfa552d5c41e55 /bridges/source/cpp_uno/msvc_win32_intel | |
parent | 7e0b08860e5a773d27bf3c6abc197036b1d2d9be (diff) |
RuntimeException for illegal method type
Diffstat (limited to 'bridges/source/cpp_uno/msvc_win32_intel')
-rw-r--r-- | bridges/source/cpp_uno/msvc_win32_intel/uno2cpp.cxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/bridges/source/cpp_uno/msvc_win32_intel/uno2cpp.cxx b/bridges/source/cpp_uno/msvc_win32_intel/uno2cpp.cxx index 0ed339b173eb..692f3c98c88c 100644 --- a/bridges/source/cpp_uno/msvc_win32_intel/uno2cpp.cxx +++ b/bridges/source/cpp_uno/msvc_win32_intel/uno2cpp.cxx @@ -2,9 +2,9 @@ * * $RCSfile: uno2cpp.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: jl $ $Date: 2001-03-12 14:41:44 $ + * last change: $Author: dbo $ $Date: 2001-04-11 14:07:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -480,12 +480,13 @@ extern "C" void SAL_CALL cppu_unoInterfaceProxy_dispatch( { ::com::sun::star::uno::RuntimeException aExc( OUString( RTL_CONSTASCII_USTRINGPARAM("illegal member type description!") ), - pThis->pCppI ); + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >() ); typelib_TypeDescription * pTD = 0; - const Type & rExcType = ::getCppuType( (const ::com::sun::star::uno::RuntimeException *)0 ); + Type const & rExcType = ::getCppuType( &aExc ); TYPELIB_DANGER_GET( &pTD, rExcType.getTypeLibType() ); - uno_any_construct( *ppException, &aExc, pTD, 0 ); + // binary identical null reference + ::uno_any_construct( *ppException, &aExc, pTD, 0 ); TYPELIB_DANGER_RELEASE( pTD ); } } |