From 022198063c030a37959f3446afdd7dd675edc5b4 Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Tue, 20 Jun 2006 02:49:18 +0000 Subject: 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. --- idlc/source/idlcproduce.cxx | 32 ++------------------------------ 1 file 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 #endif -#ifndef _OSL_PROCESS_H_ -#include -#endif #ifndef _OSL_THREAD_H_ #include #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); -- cgit