From 8b52d4e73a06d433d128d61a4939e92e4a497d71 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 30 Aug 2016 12:15:41 +0200 Subject: convert SwDocPositions to scoped enum Change-Id: Idd9414b4a10398130337e474fb8fd4063e3bd4f8 --- sw/inc/crsrsh.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sw/inc/crsrsh.hxx') diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx index 2b9b013fd4b2..dbe62d646350 100644 --- a/sw/inc/crsrsh.hxx +++ b/sw/inc/crsrsh.hxx @@ -267,7 +267,7 @@ typedef bool (SwCursor:: *FNCursor)(); protected: - inline SwMoveFnCollection const & MakeFindRange( sal_uInt16, sal_uInt16, SwPaM* ) const; + inline SwMoveFnCollection const & MakeFindRange( SwDocPositions, SwDocPositions, SwPaM* ) const; /* * Compare-Methode for the StackCursor and the current Cursor. @@ -846,9 +846,9 @@ public: // Cursor Inlines: inline SwMoveFnCollection const & SwCursorShell::MakeFindRange( - sal_uInt16 nStt, sal_uInt16 nEnd, SwPaM* pPam ) const + SwDocPositions nStt, SwDocPositions nEnd, SwPaM* pPam ) const { - return m_pCurrentCursor->MakeFindRange( (SwDocPositions)nStt, (SwDocPositions)nEnd, pPam ); + return m_pCurrentCursor->MakeFindRange( nStt, nEnd, pPam ); } inline SwCursor* SwCursorShell::GetSwCursor() const -- cgit