From be8c414567f49242164b1fdfb12764b16be355c1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 19 Jan 2018 09:13:03 +0200 Subject: loplugin:unusedmethods also check for functions returning bool we were previously excluding them Change-Id: I48a68799b0de60b4995fae541eb363e043d4dd11 Reviewed-on: https://gerrit.libreoffice.org/48167 Tested-by: Jenkins Reviewed-by: Noel Grandin --- comphelper/source/misc/backupfilehelper.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'comphelper') diff --git a/comphelper/source/misc/backupfilehelper.cxx b/comphelper/source/misc/backupfilehelper.cxx index d9452964d11e..64a8cea73929 100644 --- a/comphelper/source/misc/backupfilehelper.cxx +++ b/comphelper/source/misc/backupfilehelper.cxx @@ -1433,7 +1433,7 @@ namespace } } - bool flush() + void flush() { bool bRetval(true); @@ -1543,8 +1543,6 @@ namespace // delete temp file (in all cases - it may be moved already) osl::File::remove(aTempURL); } - - return bRetval; } bool tryPush(FileSharedPtr const & rFileCandidate, bool bCompress) -- cgit v1.2.3