summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
Diffstat (limited to 'idlc')
-rw-r--r--idlc/inc/astoperation.hxx2
-rw-r--r--idlc/source/astoperation.cxx2
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;