summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2003-12-01 15:06:31 +0000
committerRüdiger Timm <rt@openoffice.org>2003-12-01 15:06:31 +0000
commit106f20b09773cc55866d7bb73784841cb58c1231 (patch)
tree613a29ae2516e58e8e6016d25d1ccc957b4a5b6a /pyuno
parentcb0c09b791be5229d8df3f0f03f7dbad8b99e07f (diff)
INTEGRATION: CWS ooo20031110 (1.4.4); FILE MERGED
2003/11/03 23:49:50 waratah 1.4.4.1: #21906# change C++ casts to C casts to allow permissive removal
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/source/module/pyuno_module.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/pyuno/source/module/pyuno_module.cxx b/pyuno/source/module/pyuno_module.cxx
index 2b66b2123914..ecf647fc1bcb 100644
--- a/pyuno/source/module/pyuno_module.cxx
+++ b/pyuno/source/module/pyuno_module.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: pyuno_module.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: hjs $ $Date: 2003-08-18 15:01:47 $
+ * last change: $Author: rt $ $Date: 2003-12-01 16:06:31 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -232,8 +232,10 @@ static OUString getLibDir()
{
static OUString libDir;
+ // changed from reinterpret_cast<void> gcc 3.3 will not
+ // all you to cast to void in this way, converted to simple C cast.
// workarounds the $(ORIGIN) until it is available
- if( Module::getUrlFromAddress( reinterpret_cast<void*>(getLibDir) , libDir ) )
+ if( Module::getUrlFromAddress( (void*)(getLibDir) , libDir ) )
{
libDir = OUString( libDir.getStr(), libDir.lastIndexOf('/' ) );
OUString name ( RTL_CONSTASCII_USTRINGPARAM( "PYUNOLIBDIR" ) );