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/source/core/crsr/crsrsh.cxx | |
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/source/core/crsr/crsrsh.cxx')
-rw-r--r-- | sw/source/core/crsr/crsrsh.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx index 428aa40baaaa..702ec9d7359a 100644 --- a/sw/source/core/crsr/crsrsh.cxx +++ b/sw/source/core/crsr/crsrsh.cxx @@ -31,7 +31,6 @@ #include <viewimp.hxx> #include <pam.hxx> #include <swselectionlist.hxx> -#include <IBlockCursor.hxx> #include "BlockCursor.hxx" #include <ndtxt.hxx> #include <flyfrm.hxx> @@ -890,7 +889,7 @@ void SwCrsrShell::CrsrToBlockCrsr() if( !m_pBlockCrsr ) { SwPosition aPos( *m_pCurCrsr->GetPoint() ); - m_pBlockCrsr = createBlockCursor( *this, aPos ); + m_pBlockCrsr = new SwBlockCursor( *this, aPos ); SwShellCrsr &rBlock = m_pBlockCrsr->getShellCrsr(); rBlock.GetPtPos() = m_pCurCrsr->GetPtPos(); if( m_pCurCrsr->HasMark() ) |