From bf5f73dfe7ba020bf042f7c2256068df7a5efac6 Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Thu, 4 Sep 2003 09:49:45 +0000 Subject: INTEGRATION: CWS cliuno01 (1.8.10); FILE MERGED 2003/06/05 12:23:58 dbo 1.8.10.1: #i14581# avoiding reinterpret_cast<> --- bridges/source/jni_uno/jni_base.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'bridges') diff --git a/bridges/source/jni_uno/jni_base.h b/bridges/source/jni_uno/jni_base.h index 754e2fbb4ffd..f1a787b15687 100644 --- a/bridges/source/jni_uno/jni_base.h +++ b/bridges/source/jni_uno/jni_base.h @@ -2,9 +2,9 @@ * * $RCSfile: jni_base.h,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: rt $ $Date: 2003-04-23 16:30:48 $ + * last change: $Author: obo $ $Date: 2003-09-04 10:49:45 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -301,8 +301,7 @@ inline TypeDescr::TypeDescr( typelib_TypeDescriptionReference * td_ref ) { throw BridgeRuntimeError( OUSTR("cannot get comprehensive type description for ") + - *reinterpret_cast< ::rtl::OUString const * >( - &td_ref->pTypeName ) ); + ::rtl::OUString::unacquired( &td_ref->pTypeName ) ); } } -- cgit