summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-28 11:47:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-28 14:51:56 +0200
commitb09deb075319c1c19f91e3a6f64429b61682ebf8 (patch)
tree9e73d1e63092083a337a4ddf1dfe962b4f6ef4dc /idl
parent587d6e13df7bb9c8f78ce605ebb8f8fd34b85a2c (diff)
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 <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'idl')
-rw-r--r--idl/inc/database.hxx4
-rw-r--r--idl/source/prj/database.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/idl/inc/database.hxx b/idl/inc/database.hxx
index 7994aa51463a..3c102ff6a46a 100644
--- a/idl/inc/database.hxx
+++ b/idl/inc/database.hxx
@@ -58,8 +58,8 @@ class SvParseException : public std::exception
{
public:
SvIdlError aError;
- SvParseException( SvTokenStream & rInStm, const OString& rError );
- SvParseException( const OString& rError, SvToken& rTok );
+ SvParseException( SvTokenStream const & rInStm, const OString& rError );
+ SvParseException( const OString& rError, SvToken const & rTok );
};
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 <osl/file.hxx>
-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 );