diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-18 11:33:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-18 13:27:45 +0200 |
commit | 41dc56df37596ff20c0476ae44fbd07b8b4678a1 (patch) | |
tree | 944bcf4a9f458e4ad1025651b7ac632e2d47c0dd /idlc/inc/errorhandler.hxx | |
parent | 50985d9b60cc03954bbae3dc931abb6aa18c4c78 (diff) |
loplugin:constparams codemaker,idl,idlc
Change-Id: Ic72b7525cfbfbd3c5afb12fe9ea814176e6c8c9d
Reviewed-on: https://gerrit.libreoffice.org/40126
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'idlc/inc/errorhandler.hxx')
-rw-r--r-- | idlc/inc/errorhandler.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/idlc/inc/errorhandler.hxx b/idlc/inc/errorhandler.hxx index f906ff7395e7..b2d8b94d8c5c 100644 --- a/idlc/inc/errorhandler.hxx +++ b/idlc/inc/errorhandler.hxx @@ -80,7 +80,7 @@ public: static void error1(ErrorCode e, AstDeclaration const * d); static void error2( ErrorCode e, AstDeclaration const * d1, AstDeclaration const * d2); - static void error3(ErrorCode e, AstDeclaration* d1, AstDeclaration* d2, AstDeclaration* d3); + static void error3(ErrorCode e, AstDeclaration const * d1, AstDeclaration const * d2, AstDeclaration const * d3); // Warning static void warning0(WarningCode e, const sal_Char* warningmsg); @@ -100,13 +100,13 @@ public: // Report a type error static void noTypeError(AstDeclaration const * pDecl); - static void inheritanceError(NodeType nodeType, const OString* name, AstDeclaration* pDecl); + static void inheritanceError(NodeType nodeType, const OString* name, AstDeclaration const * pDecl); static void flagError(ErrorCode e, sal_uInt32 flag); static void forwardLookupError(const AstDeclaration* pForward, const OString& name); - static void constantExpected(AstDeclaration* pDecl, const OString& name); + static void constantExpected(AstDeclaration const * pDecl, const OString& name); static void evalError(AstExpression* pExpr); |