diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-10 00:22:39 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-11 09:05:05 +0100 |
commit | e78eeb33c4a56608a1daa3375a2287ee978f6c55 (patch) | |
tree | ebba4a6b317b94e22780074f3aa146ad9d4190b8 /tools | |
parent | 1090953a4d23f7c080d2ab6050b9204161c35ba2 (diff) |
callcatcher: remove unused GetTempNameBaseDirectory
Diffstat (limited to 'tools')
-rw-r--r-- | tools/inc/tools/tempfile.hxx | 1 | ||||
-rw-r--r-- | tools/source/fsys/tempfile.cxx | 11 |
2 files changed, 0 insertions, 12 deletions
diff --git a/tools/inc/tools/tempfile.hxx b/tools/inc/tools/tempfile.hxx index d356e7bf66fc..d81914e1f0e7 100644 --- a/tools/inc/tools/tempfile.hxx +++ b/tools/inc/tools/tempfile.hxx @@ -72,7 +72,6 @@ public: // The argument must be a simple name, not a complete URL. // The return value of both methods is the complete URL of the tempname base folder. static String SetTempNameBaseDirectory( const String &rBaseName ); - static String GetTempNameBaseDirectory(); }; #endif diff --git a/tools/source/fsys/tempfile.cxx b/tools/source/fsys/tempfile.cxx index 078e91834975..b859fa9ab1e3 100644 --- a/tools/source/fsys/tempfile.cxx +++ b/tools/source/fsys/tempfile.cxx @@ -289,15 +289,4 @@ String TempFile::SetTempNameBaseDirectory( const String &rBaseName ) return aTmp; } -String TempFile::GetTempNameBaseDirectory() -{ - ::rtl::OUString& rTempNameBase_Impl = TempNameBase_Impl::get(); - if ( !rTempNameBase_Impl.getLength() ) - rTempNameBase_Impl = GetSystemTempDir_Impl(); - - rtl::OUString aTmp; - aTmp = rTempNameBase_Impl; - return aTmp; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |