diff options
author | Rüdiger Timm <rt@openoffice.org> | 2003-12-01 15:06:19 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2003-12-01 15:06:19 +0000 |
commit | cb0c09b791be5229d8df3f0f03f7dbad8b99e07f (patch) | |
tree | 05ca332d51191add30e5b978fd4c7913f174bae0 /pyuno | |
parent | 7360b4076808f17b95adc8aaecbead9b4aa8cc7a (diff) |
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
Diffstat (limited to 'pyuno')
-rw-r--r-- | pyuno/source/loader/pyuno_loader.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
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<void*>(getLibDir) , libDir ) ) + // changed from reinterpret_cast<void*> 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('/' ) ); } |