diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-07-14 01:07:39 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-07-14 08:19:57 +0200 |
commit | 85713e8a910a0f70180dad9439f7fba2759c7980 (patch) | |
tree | 2636727fd34e9d7fee1ae3b40cb538954283da61 /tools/source | |
parent | 24d333676a54f48ed0c989fb54b42a9af899127f (diff) |
callcatcher: actually remove the correct SetTempNameBaseDirectory
Diffstat (limited to 'tools/source')
-rw-r--r-- | tools/source/fsys/tempfile.cxx | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/tools/source/fsys/tempfile.cxx b/tools/source/fsys/tempfile.cxx index b859fa9ab1e3..b6a4b1e2b70e 100644 --- a/tools/source/fsys/tempfile.cxx +++ b/tools/source/fsys/tempfile.cxx @@ -267,26 +267,4 @@ String TempFile::GetName() const return aTmp; } -String TempFile::SetTempNameBaseDirectory( const String &rBaseName ) -{ - String aName( rBaseName ); - - ::rtl::OUString& rTempNameBase_Impl = TempNameBase_Impl::get(); - - FileBase::RC err= Directory::create( aName ); - if ( err == FileBase::E_None || err == FileBase::E_EXIST ) - { - rTempNameBase_Impl = aName; - rTempNameBase_Impl += String( '/' ); - - TempFile aBase( NULL, sal_True ); - if ( aBase.IsValid() ) - rTempNameBase_Impl = aBase.pImp->aName; - } - - rtl::OUString aTmp; - aTmp = rTempNameBase_Impl; - return aTmp; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |