From 1820fcbbc38e82daf43ebe759200050ce05b3fe1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 18 Jun 2019 12:30:40 +0200 Subject: constmethod for accessor-type methods Apply the constmethod plugin, but only to accessor-type methods, e.g. IsFoo(), GetBar(), etc, where we can be sure of that constifying is a reasonable thing to do. Change-Id: Ibc97f5f359a0992dd1ce2d66f0189f8a0a43d98a Reviewed-on: https://gerrit.libreoffice.org/74269 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/source/ui/app/inputhdl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source/ui/app') diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx index f7d04468f46b..e7090c108bbd 100644 --- a/sc/source/ui/app/inputhdl.cxx +++ b/sc/source/ui/app/inputhdl.cxx @@ -425,7 +425,7 @@ handle_r1c1: } } -static ReferenceMark lcl_GetReferenceMark( ScViewData& rViewData, ScDocShell* pDocSh, +static ReferenceMark lcl_GetReferenceMark( const ScViewData& rViewData, ScDocShell* pDocSh, long nX1, long nX2, long nY1, long nY2, long nTab, const Color& rColor ) { -- cgit