From 8ef6be73325dbb6761b247ff187c709ba0f81bfb Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 5 Aug 2017 15:20:21 +0200 Subject: loplugin:constparams in sw part6 Change-Id: Ic82946cf9be50d9d9c43338b86dfb700ce5b354c Reviewed-on: https://gerrit.libreoffice.org/40786 Tested-by: Jenkins Reviewed-by: Noel Grandin --- idlc/inc/astexception.hxx | 2 +- idlc/inc/fehelper.hxx | 4 ++-- idlc/source/fehelper.cxx | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'idlc') diff --git a/idlc/inc/astexception.hxx b/idlc/inc/astexception.hxx index b69f26f52ff9..12bb642c4004 100644 --- a/idlc/inc/astexception.hxx +++ b/idlc/inc/astexception.hxx @@ -24,7 +24,7 @@ class AstException : public AstStruct { public: - AstException(const OString& name, AstException* pBaseType, AstScope* pScope) + AstException(const OString& name, AstException const * pBaseType, AstScope* pScope) : AstStruct(NT_exception, name, pBaseType, pScope) {} }; diff --git a/idlc/inc/fehelper.hxx b/idlc/inc/fehelper.hxx index 730aa05607a1..8ebc1c9f44ce 100644 --- a/idlc/inc/fehelper.hxx +++ b/idlc/inc/fehelper.hxx @@ -43,8 +43,8 @@ class FeInheritanceHeader final { public: FeInheritanceHeader( - NodeType nodeType, OString* pName, OString* pInherits, - std::vector< OString > * typeParameters); + NodeType nodeType, OString* pName, OString const * pInherits, + std::vector< OString > const * typeParameters); ~FeInheritanceHeader() { diff --git a/idlc/source/fehelper.cxx b/idlc/source/fehelper.cxx index 1d3fc4154b1b..3a3e5324e303 100644 --- a/idlc/source/fehelper.cxx +++ b/idlc/source/fehelper.cxx @@ -58,8 +58,8 @@ AstType const * FeDeclarator::compose(AstDeclaration const * pDecl) } FeInheritanceHeader::FeInheritanceHeader( - NodeType nodeType, OString* pName, OString* pInherits, - std::vector< OString > * typeParameters) + NodeType nodeType, OString* pName, OString const * pInherits, + std::vector< OString > const * typeParameters) : m_nodeType(nodeType) , m_pName(pName) , m_pInherits(nullptr) -- cgit