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 --- sd/source/ui/app/sdxfer.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sd/source/ui/app') diff --git a/sd/source/ui/app/sdxfer.cxx b/sd/source/ui/app/sdxfer.cxx index a49579a60df5..4a67154ccd6f 100644 --- a/sd/source/ui/app/sdxfer.cxx +++ b/sd/source/ui/app/sdxfer.cxx @@ -597,8 +597,7 @@ bool SdTransferable::WriteObject( tools::SvRef& rxOStm, void* pOb case SDTRANSFER_OBJECTTYPE_DRAWOLE: { SfxObjectShell* pEmbObj = static_cast(pObject); - ::utl::TempFile aTempFile; - aTempFile.EnableKillingFile(); + ::utl::TempFileFast aTempFile; SvStream* pTempStream = aTempFile.GetStream(StreamMode::READWRITE); try -- cgit