summaryrefslogtreecommitdiff
path: root/sw/inc/calbck.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-21 10:44:17 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-21 13:30:13 +0000
commit407731c9f403c35357a0d1428c9b99835f79a5f7 (patch)
treec3550703ea961e727e9fa155aa8efaa96ae84dd0 /sw/inc/calbck.hxx
parent2b75376a149803865c7cc0dbc72a870c1d86f428 (diff)
loplugin:unusedmethods sw
Change-Id: Ied51535fa169451fc4991237122817a34a59f6fe Reviewed-on: https://gerrit.libreoffice.org/17256 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw/inc/calbck.hxx')
-rw-r--r--sw/inc/calbck.hxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/sw/inc/calbck.hxx b/sw/inc/calbck.hxx
index a19ee55cc09f..6313b167bde6 100644
--- a/sw/inc/calbck.hxx
+++ b/sw/inc/calbck.hxx
@@ -329,27 +329,12 @@ public:
SwIterator( const TSource& rSrc ) : sw::ClientIteratorBase(rSrc) {}
SwClient* First()
{ return static_cast<SwClient*>(GoStart()); }
- SwClient* Last()
- {
- if(!m_pPosition)
- m_pPosition = m_rRoot.m_pWriterListeners;
- if(!m_pPosition)
- return m_pCurrent = nullptr;
- while(GetRightOfPos())
- m_pPosition = GetRightOfPos();
- return static_cast<SwClient*>(Sync());
- }
SwClient* Next()
{
if(!IsChanged())
m_pPosition = GetRightOfPos();
return static_cast<SwClient*>(Sync());
}
- SwClient* Previous()
- {
- m_pPosition = GetLeftOfPos();
- return static_cast<SwClient*>(Sync());
- }
using sw::ClientIteratorBase::IsChanged;
};