diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 03:27:25 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 03:27:25 +0000 |
commit | 11a1f537500062c0a5a9bf69b3fc190c936acf3e (patch) | |
tree | 20b9ed829a5e5e3e0155d4092275ee542c335420 /sal | |
parent | 4187e3ec8d599ff264b437ea0ae3935ed01bef79 (diff) |
INTEGRATION: CWS warnings01 (1.2.160); FILE MERGED
2005/09/23 01:20:52 sb 1.2.160.3: RESYNC: (1.2-1.3); FILE MERGED
2005/09/15 12:35:45 sb 1.2.160.2: #i53898# Fixed previous change.
2005/09/14 15:19:05 sb 1.2.160.1: #i53898# Made code warning-free.
Diffstat (limited to 'sal')
-rw-r--r-- | sal/qa/rtl/process/rtl_Process.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sal/qa/rtl/process/rtl_Process.cxx b/sal/qa/rtl/process/rtl_Process.cxx index a04c84c9ab07..3949a80f71bb 100644 --- a/sal/qa/rtl/process/rtl_Process.cxx +++ b/sal/qa/rtl/process/rtl_Process.cxx @@ -4,9 +4,9 @@ * * $RCSfile: rtl_Process.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: rt $ $Date: 2005-09-08 15:49:28 $ + * last change: $Author: hr $ $Date: 2006-06-20 04:27:25 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -83,7 +83,8 @@ inline void printUString( const ::rtl::OUString & str, const sal_Char * msg = "" inline ::rtl::OUString getModulePath( void ) { ::rtl::OUString suDirPath; - ::osl::Module::getUrlFromAddress( ( void* ) &getModulePath, suDirPath ); + ::osl::Module::getUrlFromAddress( + reinterpret_cast< oslGenericFunction >(getModulePath), suDirPath ); printUString(suDirPath, "modulePath:"); suDirPath = suDirPath.copy( 0, suDirPath.lastIndexOf('/') ); @@ -253,7 +254,6 @@ public: const rtl::OUString EXEC_NAME = rtl::OUString::createFromAscii("child_process_id"); #endif sal_uInt8 pTargetUUID1[16]; - sal_uInt8 pTargetUUID2[16]; rtl_getGlobalProcessId( pTargetUUID1 ); printUuid( pTargetUUID1 ); sal_Char pUUID1[32]; |