summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-01-10 11:04:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-01-10 13:13:43 +0100
commit059c1aba91962262b971267819b52e6f822bd9a0 (patch)
tree94c4bf1a81b14ea999d3be6fbbcb02a62808e1ce /comphelper
parentb4c56c0fd917623bbc0982eb53276e6ca64e7f42 (diff)
small cleanups to TempFile related code
unnecessary temporary variables Change-Id: Iefa6c9a6627311495e6cd2f01f5446082ae0589d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128208 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/misc/backupfilehelper.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/comphelper/source/misc/backupfilehelper.cxx b/comphelper/source/misc/backupfilehelper.cxx
index 527c761d834a..b27453558bba 100644
--- a/comphelper/source/misc/backupfilehelper.cxx
+++ b/comphelper/source/misc/backupfilehelper.cxx
@@ -637,7 +637,6 @@ namespace
xSerializer->serialize(xSaxWriter, uno::Sequence< beans::StringPair >());
// get URL from temp file
- uno::Reference < beans::XPropertySet > xTempFileProps(xTempFile, uno::UNO_QUERY);
OUString aTempURL = xTempFile->getUri();
// copy back file