[Libreoffice-commits] core.git: sw/inc sw/source
Michael Stahl
mstahl at redhat.com
Wed Jul 15 06:05:45 PDT 2015
sw/inc/unocrsr.hxx | 2 --
sw/source/core/unocore/unocrsr.cxx | 11 -----------
2 files changed, 13 deletions(-)
New commits:
commit f466347a5a054c1705a0a3a453e825f16a01a85d
Author: Michael Stahl <mstahl at redhat.com>
Date: Wed Jul 15 14:58:27 2015 +0200
sw: remove unused SwUnoTableCrsr::Clone()
Change-Id: Ic41c9fb96bf0d3dc429f1de18b8ce93c50885827
diff --git a/sw/inc/unocrsr.hxx b/sw/inc/unocrsr.hxx
index 32006a4..5506369 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 04f30ce..3aae518 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;
More information about the Libreoffice-commits
mailing list