From ab1ac6925102e6b57dda45972704a5f9a9e94d97 Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Thu, 12 Oct 2006 10:20:29 +0000 Subject: INTEGRATION: CWS sb59 (1.18.24); FILE MERGED 2006/08/29 14:08:18 sb 1.18.24.1: #i67487# Made code warning-free (wntmsci10). --- embeddedobj/source/commonembedding/miscobj.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'embeddedobj') diff --git a/embeddedobj/source/commonembedding/miscobj.cxx b/embeddedobj/source/commonembedding/miscobj.cxx index 7488aed66b65..795996d7a365 100644 --- a/embeddedobj/source/commonembedding/miscobj.cxx +++ b/embeddedobj/source/commonembedding/miscobj.cxx @@ -4,9 +4,9 @@ * * $RCSfile: miscobj.cxx,v $ * - * $Revision: 1.19 $ + * $Revision: 1.20 $ * - * last change: $Author: obo $ $Date: 2006-09-17 00:40:51 $ + * last change: $Author: obo $ $Date: 2006-10-12 11:20:29 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -513,7 +513,7 @@ uno::Reference< util::XCloseable > SAL_CALL OCommonEmbeddedObject::getComponent( { // the object is still not loaded throw uno::RuntimeException( ::rtl::OUString::createFromAscii( "Can't store object without persistence!\n" ), - uno::Reference< uno::XInterface >( reinterpret_cast< ::cppu::OWeakObject* >(this) ) ); + uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) ); } // if ( m_bWaitSaveCompleted ) -- cgit