vcl/source/graphic/BinaryDataContainer.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit d63bcfe3dde8cf873c897dbbe73fe8db38aaa70f Author: Noel Grandin <noelgran...@gmail.com> AuthorDate: Sat Oct 28 19:59:33 2023 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Sat Oct 28 22:56:30 2023 +0200 use more TempFileFast in BinaryDataContainer::Impl Change-Id: Iea16260cd152e1c495e7713ada812265dbb5b702 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158598 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/vcl/source/graphic/BinaryDataContainer.cxx b/vcl/source/graphic/BinaryDataContainer.cxx index c9e75bc4ef77..89ae5eb8da1e 100644 --- a/vcl/source/graphic/BinaryDataContainer.cxx +++ b/vcl/source/graphic/BinaryDataContainer.cxx @@ -18,7 +18,7 @@ struct BinaryDataContainer::Impl { // temp file to store the data out of RAM if necessary - std::unique_ptr<utl::TempFileNamed> mpFile; + std::unique_ptr<utl::TempFileFast> mpFile; // the binary data std::shared_ptr<std::vector<sal_uInt8>> mpData; @@ -59,7 +59,7 @@ struct BinaryDataContainer::Impl if (!mpData || mpData->empty()) return; - mpFile.reset(new utl::TempFileNamed()); + mpFile.reset(new utl::TempFileFast()); auto pStream = mpFile->GetStream(StreamMode::READWRITE); pStream->WriteBytes(mpData->data(), mpData->size());