From b09deb075319c1c19f91e3a6f64429b61682ebf8 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 28 Jul 2017 11:47:51 +0200 Subject: loplugin:constparams handle constructors had to change the structure of the plugin considerably, was too messy to structure it to do the calculations on a per-function basis Change-Id: I4edee7735f726101105c607368124a08dba21086 Reviewed-on: https://gerrit.libreoffice.org/40516 Tested-by: Jenkins Reviewed-by: Noel Grandin --- idl/source/prj/database.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'idl/source') diff --git a/idl/source/prj/database.cxx b/idl/source/prj/database.cxx index 1a1057e797f2..7fb11d98d151 100644 --- a/idl/source/prj/database.cxx +++ b/idl/source/prj/database.cxx @@ -28,14 +28,14 @@ #include -SvParseException::SvParseException( SvTokenStream & rInStm, const OString& rError ) +SvParseException::SvParseException( SvTokenStream const & rInStm, const OString& rError ) { SvToken& rTok = rInStm.GetToken(); aError = SvIdlError( rTok.GetLine(), rTok.GetColumn() ); aError.SetText( rError ); }; -SvParseException::SvParseException( const OString& rError, SvToken& rTok ) +SvParseException::SvParseException( const OString& rError, SvToken const & rTok ) { aError = SvIdlError( rTok.GetLine(), rTok.GetColumn() ); aError.SetText( rError ); -- cgit