diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 02:49:18 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 02:49:18 +0000 |
commit | 022198063c030a37959f3446afdd7dd675edc5b4 (patch) | |
tree | 6d2b2518a5e5cd13865010084bf7d61e0f73f478 /idlc/source | |
parent | 31e6bae20d0a138afee1d01fc89bd9096eb2c9d3 (diff) |
INTEGRATION: CWS warnings01 (1.10.30); FILE MERGED
2005/09/23 00:06:20 sb 1.10.30.2: RESYNC: (1.10-1.11); FILE MERGED
2005/08/29 14:14:25 sb 1.10.30.1: #i53898# Made code warning-free.
Diffstat (limited to 'idlc/source')
-rw-r--r-- | idlc/source/idlcproduce.cxx | 32 |
1 files changed, 2 insertions, 30 deletions
diff --git a/idlc/source/idlcproduce.cxx b/idlc/source/idlcproduce.cxx index adb8a5cc800c..fa55d8aa6425 100644 --- a/idlc/source/idlcproduce.cxx +++ b/idlc/source/idlcproduce.cxx @@ -4,9 +4,9 @@ * * $RCSfile: idlcproduce.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: rt $ $Date: 2005-09-07 18:12:09 $ + * last change: $Author: hr $ $Date: 2006-06-20 03:49:18 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -44,9 +44,6 @@ #ifndef _OSL_FILE_HXX_ #include <osl/file.hxx> #endif -#ifndef _OSL_PROCESS_H_ -#include <osl/process.h> -#endif #ifndef _OSL_THREAD_H_ #include <osl/thread.h> #endif @@ -68,31 +65,6 @@ using namespace ::osl; StringList* pCreatedDirectories = NULL; -static OUString getWorkingDir() -{ - OUString workingDir; - if ( osl_getProcessWorkingDir(&workingDir.pData) != osl_Process_E_None ) - return OUString(); - - return workingDir; -} - -static OString getTempDir() -{ - sal_Char* pTemp = NULL; - if ( !(pTemp = getenv("TEMP")) ) - { - if ( !(pTemp = getenv("TMP")) ) - return OString(); - } - - OString tempDir(pTemp); - if ( pTemp[strlen(pTemp)-1] != SEPARATOR ) - tempDir += OString::valueOf(SEPARATOR); - - return tempDir; -} - static sal_Bool checkOutputPath(const OString& completeName) { OString sysPathName = convertToAbsoluteSystemPath(completeName); |