From 4b95451f859bac8e05956ce12df17f1ee410032d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 21 Sep 2022 20:54:00 +0200 Subject: split utl::TempFile into fast and named variants which makes it easier to know what each variant requires to stay on it's happy path Change-Id: I3275a2543573367714bc78092e882f6535507285 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140469 Tested-by: Jenkins Reviewed-by: Noel Grandin --- desktop/source/app/appinit.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'desktop/source/app/appinit.cxx') diff --git a/desktop/source/app/appinit.cxx b/desktop/source/app/appinit.cxx index 9ce317209e87..1c837b833d16 100644 --- a/desktop/source/app/appinit.cxx +++ b/desktop/source/app/appinit.cxx @@ -245,11 +245,11 @@ void Desktop::CreateTemporaryDirectory() } // create new current temporary directory - OUString aTempPath = ::utl::TempFile::SetTempNameBaseDirectory( aTempBaseURL ); + OUString aTempPath = ::utl::SetTempNameBaseDirectory( aTempBaseURL ); if ( aTempPath.isEmpty() && ::osl::File::getTempDirURL( aTempBaseURL ) == osl::FileBase::E_None ) { - aTempPath = ::utl::TempFile::SetTempNameBaseDirectory( aTempBaseURL ); + aTempPath = ::utl::SetTempNameBaseDirectory( aTempBaseURL ); } // set new current temporary directory -- cgit