diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2005-02-25 08:23:55 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2005-02-25 08:23:55 +0000 |
commit | 4e1fb4895192fc4458d089b288dab0a68447c387 (patch) | |
tree | 585dca95fdbe987e1606c2ee8dba957a638667c9 /unotools/source/ucbhelper/xtempfile.cxx | |
parent | INTEGRATION: CWS nodirectxui (1.33.30); FILE MERGED (diff) | |
download | core-4e1fb4895192fc4458d089b288dab0a68447c387.tar.gz core-4e1fb4895192fc4458d089b288dab0a68447c387.zip |
INTEGRATION: CWS mav16 (1.7.92); FILE MERGED
2005/02/11 15:09:20 mav 1.7.92.1: #i42264# do not use dead configuration entry
Diffstat (limited to 'unotools/source/ucbhelper/xtempfile.cxx')
-rw-r--r-- | unotools/source/ucbhelper/xtempfile.cxx | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/unotools/source/ucbhelper/xtempfile.cxx b/unotools/source/ucbhelper/xtempfile.cxx index f28d475eca02..bb0845aa863b 100644 --- a/unotools/source/ucbhelper/xtempfile.cxx +++ b/unotools/source/ucbhelper/xtempfile.cxx @@ -2,9 +2,9 @@ * * $RCSfile: xtempfile.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: kz $ $Date: 2003-09-11 10:32:06 $ + * last change: $Author: vg $ $Date: 2005-02-25 09:23:55 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -125,17 +125,6 @@ XTempFile::XTempFile () , mbInClosed( sal_False ) , mbOutClosed( sal_False ) { - if ( ! TempFile::GetTempNameBaseDirectory().Len()) - { - OUString aUserPath, aTmp; - ConfigManager* pCfgMgr = ConfigManager::GetConfigManager(); - Any aAny = pCfgMgr->GetDirectConfigProperty( ConfigManager::INSTALLPATH ); - aAny >>= aUserPath; - - aUserPath += OUString ( RTL_CONSTASCII_USTRINGPARAM (DESKTOP_TEMPNAMEBASE_DIR ) ); - FileBase::getFileURLFromSystemPath( aUserPath, aTmp ); - TempFile::SetTempNameBaseDirectory( aTmp ); - } mpTempFile = new TempFile; mpTempFile->EnableKillingFile ( sal_True ); mpStream = mpTempFile->GetStream ( STREAM_STD_READWRITE ); |