diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-25 15:04:08 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-05-26 06:45:46 +0000 |
commit | 57e801ba568de9d1b43456e0fc3c11fd0be05fe6 (patch) | |
tree | 4498a100ccba2962c315860e9668904b6bc37acc /sw/inc/crsrsh.hxx | |
parent | 6ea81e0c78da567f208ff161496ade26a375e6e8 (diff) |
loplugin:unnecessarysuperclass, merge IBlockCursor into SwBlockCursor
Change-Id: I3c6c0d620cf7ffb11a9ca5e1025d91e59ef66c80
Reviewed-on: https://gerrit.libreoffice.org/15898
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw/inc/crsrsh.hxx')
-rw-r--r-- | sw/inc/crsrsh.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx index 073a8dfb1d8d..b513fc15fa1c 100644 --- a/sw/inc/crsrsh.hxx +++ b/sw/inc/crsrsh.hxx @@ -61,7 +61,7 @@ class SwTextAttr; class SwTableBox; class SwTOXMark; class SwRangeRedline; -class IBlockCursor; +class SwBlockCursor; class SwContentNode; class SwPostItField; class SwTextField; @@ -177,7 +177,7 @@ private: SwShellCrsr* m_pCrsrStk; ///< stack for the cursor SwVisCrsr *m_pVisCrsr; ///< the visible cursor - IBlockCursor *m_pBlockCrsr; ///< interface of cursor for block (=rectangular) selection + SwBlockCursor *m_pBlockCrsr; ///< interface of cursor for block (=rectangular) selection SwShellTableCrsr* m_pTableCrsr; /**< table Crsr; only in tables when the selection lays over 2 columns */ @@ -640,8 +640,8 @@ public: { return (const_cast<SwCrsrShell*>(this))->getShellCrsr( bBlock ); } bool IsBlockMode() const { return 0 != m_pBlockCrsr; } - const IBlockCursor* GetBlockCrsr() const { return m_pBlockCrsr; } - IBlockCursor* GetBlockCrsr() { return m_pBlockCrsr; } + const SwBlockCursor* GetBlockCrsr() const { return m_pBlockCrsr; } + SwBlockCursor* GetBlockCrsr() { return m_pBlockCrsr; } // is the Crsr in a table and is the selection over 2 columns bool IsTableMode() const { return 0 != m_pTableCrsr; } |