summaryrefslogtreecommitdiff
path: root/idlc/source/astdump.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-19 09:13:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-19 13:26:27 +0100
commitbe8c414567f49242164b1fdfb12764b16be355c1 (patch)
treec1f505272ec27e5e069f5d6964dc4f7b20150a5a /idlc/source/astdump.cxx
parentbe94207ecb88a9005ee6624e354d70c9613d7653 (diff)
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 <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'idlc/source/astdump.cxx')
-rw-r--r--idlc/source/astdump.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/idlc/source/astdump.cxx b/idlc/source/astdump.cxx
index 7b869b7564dc..fbdd7232d893 100644
--- a/idlc/source/astdump.cxx
+++ b/idlc/source/astdump.cxx
@@ -321,7 +321,7 @@ bool AstService::dump(RegistryKey& rKey)
return true;
}
-bool AstAttribute::dumpBlob(
+void AstAttribute::dumpBlob(
typereg::Writer & rBlob, sal_uInt16 index, sal_uInt16 * methodIndex) const
{
RTFieldAccess accessMode = RTFieldAccess::INVALID;
@@ -377,8 +377,6 @@ bool AstAttribute::dumpBlob(
dumpExceptions(
rBlob, m_setDocumentation, m_setExceptions, RTMethodMode::ATTRIBUTE_SET,
methodIndex);
-
- return true;
}
void AstAttribute::dumpExceptions(