diff options
author | Noel Grandin <noel@peralex.com> | 2016-09-08 10:21:09 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-09-08 11:47:19 +0200 |
commit | 0f8a30318695447e205b17fb0af06362ab890bc3 (patch) | |
tree | 7d31a0475a732772dd0967ba7be29868e24a09ab /sw/inc/crsrsh.hxx | |
parent | ac1c3f2ab68a17b6508901bf9b5abdad618158a6 (diff) |
loplugin:constantparam in sw
Change-Id: Ibae4cac28e6ff52298c804519f683017729c07a5
Diffstat (limited to 'sw/inc/crsrsh.hxx')
-rw-r--r-- | sw/inc/crsrsh.hxx | 13 |
1 files changed, 2 insertions, 11 deletions
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 ); |