summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-18 14:55:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-19 08:07:18 +0000
commit877774c05731b7505a3d3a947a1dcb528f36df41 (patch)
tree7576ec1fcdd6bb6357b7d96347a720fb82d4ee6e /idlc
parentf019ee7cf9e278cd8a27b1c36172ad4c8124080c (diff)
loplugin:expandablemethodds in hwpfilter..linguistic
Change-Id: If20fd4a6cf8a8e005804dbb7caf41cce73d587a5 Reviewed-on: https://gerrit.libreoffice.org/30016 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'idlc')
-rw-r--r--idlc/inc/astattribute.hxx2
-rw-r--r--idlc/inc/astexpression.hxx2
-rw-r--r--idlc/source/astdump.cxx2
-rw-r--r--idlc/source/astexpression.cxx2
4 files changed, 2 insertions, 6 deletions
diff --git a/idlc/inc/astattribute.hxx b/idlc/inc/astattribute.hxx
index e4bbd517318f..273e4209e5a4 100644
--- a/idlc/inc/astattribute.hxx
+++ b/idlc/inc/astattribute.hxx
@@ -67,8 +67,6 @@ public:
DeclList::size_type getSetExceptionCount() const
{ return m_setExceptions.size(); }
- AstType const * getType() const
- { return m_pType; }
bool isReadonly() const
{ return ((m_flags & AF_READONLY) == AF_READONLY); }
bool isOptional() const
diff --git a/idlc/inc/astexpression.hxx b/idlc/inc/astexpression.hxx
index 9bc1b9004409..e64b314baa52 100644
--- a/idlc/inc/astexpression.hxx
+++ b/idlc/inc/astexpression.hxx
@@ -103,8 +103,6 @@ public:
virtual ~AstExpression();
// Data Accessors
- ExprComb getCombOperator()
- { return m_combOperator; }
AstExprValue* getExprValue()
{ return m_exprValue; }
diff --git a/idlc/source/astdump.cxx b/idlc/source/astdump.cxx
index 9c84e54218ea..4847b4fc0669 100644
--- a/idlc/source/astdump.cxx
+++ b/idlc/source/astdump.cxx
@@ -372,7 +372,7 @@ bool AstAttribute::dumpBlob(
OUString name(OStringToOUString(getLocalName(), RTL_TEXTENCODING_UTF8));
rBlob.setFieldData(
index, getDocumentation(), OUString(), accessMode, name,
- OStringToOUString(getType()->getRelativName(), RTL_TEXTENCODING_UTF8),
+ OStringToOUString(m_pType->getRelativName(), RTL_TEXTENCODING_UTF8),
RTConstValue());
dumpExceptions(
rBlob, m_getDocumentation, m_getExceptions, RTMethodMode::ATTRIBUTE_GET,
diff --git a/idlc/source/astexpression.cxx b/idlc/source/astexpression.cxx
index 0953c9bdbc3c..d18066251206 100644
--- a/idlc/source/astexpression.cxx
+++ b/idlc/source/astexpression.cxx
@@ -761,7 +761,7 @@ bool AstExpression::coerce(ExprType t)
bool AstExpression::compareLong(AstExpression *pExpr)
{
bool bRet = false;
- if (m_combOperator != pExpr->getCombOperator())
+ if (m_combOperator != pExpr->m_combOperator)
return bRet;
evaluate();
pExpr->evaluate();