From 0f8a30318695447e205b17fb0af06362ab890bc3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 8 Sep 2016 10:21:09 +0200 Subject: loplugin:constantparam in sw Change-Id: Ibae4cac28e6ff52298c804519f683017729c07a5 --- sw/inc/crsrsh.hxx | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'sw/inc/crsrsh.hxx') diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx index 82671bfbb965..dde40132e064 100644 --- a/sw/inc/crsrsh.hxx +++ b/sw/inc/crsrsh.hxx @@ -271,18 +271,9 @@ protected: /* * Compare-Methode for the StackCursor and the current Cursor. - * The Methods return -1, 0, 1 for lower, equal, greater. The enum - * CursorCompareType says which position is compared. + * The Methods return -1, 0, 1 for lower, equal, greater. */ - enum CursorCompareType { - StackPtStackMk, - StackPtCurrPt, - StackPtCurrMk, - StackMkCurrPt, - StackMkCurrMk, - CurrPtCurrMk - }; - int CompareCursor( CursorCompareType eType ) const; + int CompareCursorStackMkCurrPt() const; bool SelTableRowOrCol( bool bRow, bool bRowSimple = false ); -- cgit