From 88e5fa24eab7b89e946a340e9cf75951cbbffd79 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 1 Apr 2016 12:22:42 +0200 Subject: loplugin:constantparam in sw Change-Id: I68f1594ca3f647d055f5087def74452452f86910 Reviewed-on: https://gerrit.libreoffice.org/23718 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/inc/crsrsh.hxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sw/inc/crsrsh.hxx') diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx index f3bf55a0d2ba..2a1af0a0d57f 100644 --- a/sw/inc/crsrsh.hxx +++ b/sw/inc/crsrsh.hxx @@ -419,9 +419,8 @@ public: void NormalizePam(bool bPointFirst = true); void SwapPam(); - bool ChgCurrPam( const Point & rPt, - bool bTstOnly = true, // test only, don't set - bool bTstHit = false ); // only exact matches + bool TestCurrPam( const Point & rPt, + bool bTstHit = false); // only exact matches void KillPams(); // story a copy of the cursor in the stack -- cgit