summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-05 15:20:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-06 20:13:53 +0200
commit8ef6be73325dbb6761b247ff187c709ba0f81bfb (patch)
treef7f066cf9cf154061cbc2b584d977eb6fc4ad03c /idlc
parent8f629b8fbeb13a593f6aff28d2ff0399eb4ee56a (diff)
loplugin:constparams in sw part6
Change-Id: Ic82946cf9be50d9d9c43338b86dfb700ce5b354c Reviewed-on: https://gerrit.libreoffice.org/40786 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'idlc')
-rw-r--r--idlc/inc/astexception.hxx2
-rw-r--r--idlc/inc/fehelper.hxx4
-rw-r--r--idlc/source/fehelper.cxx4
3 files changed, 5 insertions, 5 deletions
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)