summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobo <obo@openoffice.org>2010-06-23 15:10:17 +0200
committerobo <obo@openoffice.org>2010-06-23 15:10:17 +0200
commit499aa97a8da9870976b791d64f26ad42ad4a9943 (patch)
tree2a29929c1e6f82a638945176d5ff13ddc18de890
parent784db557e79325df96134c4b9bf997cc70092dd6 (diff)
masterfix: #i112512# [l10ntools] transex3 crashes if /tmp not defined
-rw-r--r--l10ntools/source/export2.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/l10ntools/source/export2.cxx b/l10ntools/source/export2.cxx
index 8a384b415b6f..fc8f823b7deb 100644
--- a/l10ntools/source/export2.cxx
+++ b/l10ntools/source/export2.cxx
@@ -703,11 +703,6 @@ void Export::getRandomName( ByteString& sRandStr )
DirEntry Export::GetTempFile()
/*****************************************************************************/
{
-#if defined(WNT) || defined(OS2)
- String sTempDir( Export::GetEnv( "TEMP" ), RTL_TEXTENCODING_ASCII_US );
-#else
- String sTempDir( String::CreateFromAscii( "/tmp" ));
-#endif
rtl::OUString* sTempFilename = new rtl::OUString();
// Create a temp file