diff options
author | Oliver Bolte <obo@openoffice.org> | 2003-09-04 09:50:55 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2003-09-04 09:50:55 +0000 |
commit | 43962fb0ad28148cc4083235d0fc0c1fc29e9f53 (patch) | |
tree | 3063e8964f764c0d05dffb2329140b6be494d085 /bridges/source | |
parent | 2ef847c52d2489e9594c92519283b739cf539af8 (diff) |
INTEGRATION: CWS cliuno01 (1.15.10); FILE MERGED
2003/06/05 12:24:01 dbo 1.15.10.1: #i14581# avoiding reinterpret_cast<>
Diffstat (limited to 'bridges/source')
-rw-r--r-- | bridges/source/jni_uno/jni_uno2java.cxx | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/bridges/source/jni_uno/jni_uno2java.cxx b/bridges/source/jni_uno/jni_uno2java.cxx index 7bf39b6bf82b..32d7f8cb05af 100644 --- a/bridges/source/jni_uno/jni_uno2java.cxx +++ b/bridges/source/jni_uno/jni_uno2java.cxx @@ -2,9 +2,9 @@ * * $RCSfile: jni_uno2java.cxx,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: hr $ $Date: 2003-04-28 16:29:25 $ + * last change: $Author: obo $ $Date: 2003-09-04 10:50:55 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -604,8 +604,7 @@ void SAL_CALL UNO_proxy_dispatch( #if OSL_DEBUG_LEVEL > 1 OUStringBuffer trace_buf( 64 ); trace_buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("uno->java call: ") ); - trace_buf.append( - *reinterpret_cast< OUString const * >( &member_td->pTypeName ) ); + trace_buf.append( OUString::unacquired( &member_td->pTypeName ) ); trace_buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(" on oid ") ); trace_buf.append( that->m_oid ); OString cstr_msg( @@ -822,11 +821,10 @@ void SAL_CALL UNO_proxy_dispatch( if (typelib_TypeClass_INTERFACE_METHOD == member_td->eTypeClass || typelib_TypeClass_INTERFACE_ATTRIBUTE == member_td->eTypeClass) { - buf.append( - *reinterpret_cast< OUString const * >( - &reinterpret_cast< - typelib_InterfaceMemberTypeDescription const * >( - member_td )->pMemberName ) ); + buf.append( OUString::unacquired( + &reinterpret_cast< + typelib_InterfaceMemberTypeDescription const * >( + member_td )->pMemberName ) ); } buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(": ") ); buf.append( err.m_message ); |