From cb0c09b791be5229d8df3f0f03f7dbad8b99e07f Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Mon, 1 Dec 2003 15:06:19 +0000 Subject: INTEGRATION: CWS ooo20031110 (1.3.16); FILE MERGED 2003/11/03 23:49:49 waratah 1.3.16.1: #21906# change C++ casts to C casts to allow permissive removal --- pyuno/source/loader/pyuno_loader.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'pyuno') diff --git a/pyuno/source/loader/pyuno_loader.cxx b/pyuno/source/loader/pyuno_loader.cxx index 935634733357..7f5288242708 100644 --- a/pyuno/source/loader/pyuno_loader.cxx +++ b/pyuno/source/loader/pyuno_loader.cxx @@ -2,9 +2,9 @@ * * $RCSfile: pyuno_loader.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: jbu $ $Date: 2003-05-24 23:20:00 $ + * last change: $Author: rt $ $Date: 2003-12-01 16:06:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -157,7 +157,9 @@ static OUString getLibDir() { static OUString libDir; - if( osl::Module::getUrlFromAddress( reinterpret_cast(getLibDir) , libDir ) ) + // changed from reinterpret_cast this is not allowed + // in gcc 3.3 without permissive. Us simple C cast. + if( osl::Module::getUrlFromAddress( (void*)(getLibDir) , libDir ) ) { libDir = OUString( libDir.getStr(), libDir.lastIndexOf('/' ) ); } -- cgit