diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-26 13:26:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-28 07:19:46 +0100 |
commit | 65f007c629e5a7b2710e21e3f26164b433576e27 (patch) | |
tree | d064b7c23ffe3948443fe1a4499a56308e01f97a /sw/source/uibase/uno | |
parent | 1446e097e76669c0d7749ec0f8918606d3cc4c28 (diff) |
remove some unused local vars
found by my new aggressive unused var plugin. these are unused return
values from function calls
Change-Id: I3359c583f535828f192cb833762dfedc008d82f0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87439
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/uno')
-rw-r--r-- | sw/source/uibase/uno/unomailmerge.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/uno/unomailmerge.cxx b/sw/source/uibase/uno/unomailmerge.cxx index c393736f94c7..42971d327252 100644 --- a/sw/source/uibase/uno/unomailmerge.cxx +++ b/sw/source/uibase/uno/unomailmerge.cxx @@ -335,7 +335,7 @@ static bool DeleteTmpFile_Impl( { // somebody vetoed the closing, and took the ownership of the document // -> ensure that the temporary file is deleted later on - Reference< XEventListener > xEnsureDelete( new DelayedFileDeletion( rxModel, rTmpFileURL ) ); + new DelayedFileDeletion( rxModel, rTmpFileURL ); // note: as soon as #106931# is fixed, the whole DelayedFileDeletion is to be superseded by // a better solution bDelete = false; @@ -348,7 +348,7 @@ static bool DeleteTmpFile_Impl( { if ( !SWUnoHelper::UCB_DeleteFile( rTmpFileURL ) ) { - Reference< XEventListener > xEnsureDelete( new DelayedFileDeletion( rxModel, rTmpFileURL ) ); + new DelayedFileDeletion( rxModel, rTmpFileURL ); // same not as above: as soon as #106931#, ... } } |