diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-08 09:51:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-08 08:41:38 +0000 |
commit | 1a743fd8a27d063525e3567619a2971770c61574 (patch) | |
tree | 0bbb838762285342beab2711e867ff695a05a7b7 /idlc | |
parent | tdf#88023: Only warn about unavailable JRE once (diff) | |
download | core-1a743fd8a27d063525e3567619a2971770c61574.tar.gz core-1a743fd8a27d063525e3567619a2971770c61574.zip |
loplugin:expandablemethods in hwpfilter..linguistic
Change-Id: I62ae20ab4a47b3b7e2b0d503cedcad3319cc9c85
Reviewed-on: https://gerrit.libreoffice.org/30683
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/inc/astoperation.hxx | 2 | ||||
-rw-r--r-- | idlc/source/astoperation.cxx | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/idlc/inc/astoperation.hxx b/idlc/inc/astoperation.hxx index 85b12c8321d0..a4837cbe5ab0 100644 --- a/idlc/inc/astoperation.hxx +++ b/idlc/inc/astoperation.hxx @@ -42,8 +42,6 @@ public: bool isConstructor() const { return m_pReturnType == nullptr; } void setExceptions(DeclList const * pExceptions); - sal_uInt16 nExceptions() - { return (sal_uInt16)(m_exceptions.size()); } bool dumpBlob(typereg::Writer & rBlob, sal_uInt16 index); diff --git a/idlc/source/astoperation.cxx b/idlc/source/astoperation.cxx index cd6076b1f3a8..e88656f25db5 100644 --- a/idlc/source/astoperation.cxx +++ b/idlc/source/astoperation.cxx @@ -41,7 +41,7 @@ bool AstOperation::isVariadic() const { bool AstOperation::dumpBlob(typereg::Writer & rBlob, sal_uInt16 index) { sal_uInt16 nParam = getNodeCount(NT_parameter); - sal_uInt16 nExcep = nExceptions(); + sal_uInt16 nExcep = (sal_uInt16)m_exceptions.size(); RTMethodMode methodMode = RTMethodMode::TWOWAY; OUString returnTypeName; |