diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-30 12:15:41 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-31 10:00:07 +0200 |
commit | 8b52d4e73a06d433d128d61a4939e92e4a497d71 (patch) | |
tree | 7888aa54b430ea537ad7c8adb59379163d4d4a64 /sw/inc/crsrsh.hxx | |
parent | fd405ab457183f1c0d48d47bbd3308edb2e30242 (diff) |
convert SwDocPositions to scoped enum
Change-Id: Idd9414b4a10398130337e474fb8fd4063e3bd4f8
Diffstat (limited to 'sw/inc/crsrsh.hxx')
-rw-r--r-- | sw/inc/crsrsh.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
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 |