summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/unocrsr.hxx2
-rw-r--r--sw/source/core/unocore/unocrsr.cxx11
2 files changed, 0 insertions, 13 deletions
diff --git a/sw/inc/unocrsr.hxx b/sw/inc/unocrsr.hxx
index 32006a4db909..55063694c9dc 100644
--- a/sw/inc/unocrsr.hxx
+++ b/sw/inc/unocrsr.hxx
@@ -95,8 +95,6 @@ public:
nsSwCursorSelOverFlags::SELOVER_TOGGLE |
nsSwCursorSelOverFlags::SELOVER_CHANGEPOS )) SAL_OVERRIDE;
- std::shared_ptr<SwUnoCrsr> Clone() const;
-
void MakeBoxSels();
SwCursor& GetSelRing() { return m_aTableSel; }
diff --git a/sw/source/core/unocore/unocrsr.cxx b/sw/source/core/unocore/unocrsr.cxx
index 04f30ceea2f0..3aae518e2b93 100644
--- a/sw/source/core/unocore/unocrsr.cxx
+++ b/sw/source/core/unocore/unocrsr.cxx
@@ -57,17 +57,6 @@ SwUnoCrsr::~SwUnoCrsr()
}
}
-std::shared_ptr<SwUnoCrsr> SwUnoTableCrsr::Clone() const
-{
- auto pNewCrsr(GetDoc()->CreateUnoCrsr(*GetPoint(), true));
- if(HasMark())
- {
- pNewCrsr->SetMark();
- *pNewCrsr->GetMark() = *GetMark();
- }
- return pNewCrsr;
-}
-
bool SwUnoCrsr::IsReadOnlyAvailable() const
{
return true;