summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/helper/documentsignaturemanager.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-10-21 18:47:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-10-22 08:30:55 +0200
commit0df36d45b601e93b067c22d0b09ef1ae55168263 (patch)
tree90a85e443e209b2d7efcb9581a3cadb448adc652 /xmlsecurity/source/helper/documentsignaturemanager.cxx
parenta3c7d78f3dc5ccce60dc198d2466ec7470f7fe9c (diff)
use more TempFileFastService in xmlsecurity
Change-Id: I905e1e126e96195212887feb190e87f7f4da5adf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141646 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlsecurity/source/helper/documentsignaturemanager.cxx')
-rw-r--r--xmlsecurity/source/helper/documentsignaturemanager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlsecurity/source/helper/documentsignaturemanager.cxx b/xmlsecurity/source/helper/documentsignaturemanager.cxx
index 83606dc963e6..619d8186fec6 100644
--- a/xmlsecurity/source/helper/documentsignaturemanager.cxx
+++ b/xmlsecurity/source/helper/documentsignaturemanager.cxx
@@ -237,7 +237,7 @@ SignatureStreamHelper DocumentSignatureManager::ImplOpenSignatureStream(sal_Int3
if (nStreamOpenMode & embed::ElementModes::TRUNCATE)
{
//We write always into a new temporary stream.
- mxTempSignatureStream.set(io::TempFile::create(mxContext), uno::UNO_QUERY_THROW);
+ mxTempSignatureStream = new utl::TempFileFastService;
if (aHelper.nStorageFormat != embed::StorageFormats::OFOPXML)
aHelper.xSignatureStream = mxTempSignatureStream;
else