From 41fdbdf0bc46edd44377a72ff09f12dd68519112 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 23 Mar 2017 15:24:59 -0400 Subject: Remove unused CXFA_WidgetAccIterator methods MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These methods are not called and are un-implemented. Change-Id: Ib2d7f8ae110dd56ec331bb6a6696b49b63cabe3f Reviewed-on: https://pdfium-review.googlesource.com/3165 Reviewed-by: Nicolás Peña Commit-Queue: dsinclair --- xfa/fxfa/cxfa_widgetacciterator.cpp | 25 ------------------------- xfa/fxfa/cxfa_widgetacciterator.h | 6 ------ 2 files changed, 31 deletions(-) (limited to 'xfa') diff --git a/xfa/fxfa/cxfa_widgetacciterator.cpp b/xfa/fxfa/cxfa_widgetacciterator.cpp index 721b65692f..373fba99dc 100644 --- a/xfa/fxfa/cxfa_widgetacciterator.cpp +++ b/xfa/fxfa/cxfa_widgetacciterator.cpp @@ -13,19 +13,6 @@ CXFA_WidgetAccIterator::CXFA_WidgetAccIterator(CXFA_Node* pTravelRoot) CXFA_WidgetAccIterator::~CXFA_WidgetAccIterator() {} -void CXFA_WidgetAccIterator::Reset() { - m_pCurWidgetAcc = nullptr; - m_ContentIterator.Reset(); -} - -CXFA_WidgetAcc* CXFA_WidgetAccIterator::MoveToFirst() { - return nullptr; -} - -CXFA_WidgetAcc* CXFA_WidgetAccIterator::MoveToLast() { - return nullptr; -} - CXFA_WidgetAcc* CXFA_WidgetAccIterator::MoveToNext() { CXFA_Node* pItem = m_pCurWidgetAcc ? m_ContentIterator.MoveToNext() : m_ContentIterator.GetCurrent(); @@ -38,18 +25,6 @@ CXFA_WidgetAcc* CXFA_WidgetAccIterator::MoveToNext() { return nullptr; } -CXFA_WidgetAcc* CXFA_WidgetAccIterator::MoveToPrevious() { - return nullptr; -} - -CXFA_WidgetAcc* CXFA_WidgetAccIterator::GetCurrentWidgetAcc() { - return nullptr; -} - -bool CXFA_WidgetAccIterator::SetCurrentWidgetAcc(CXFA_WidgetAcc* hWidget) { - return false; -} - void CXFA_WidgetAccIterator::SkipTree() { m_ContentIterator.SkipChildrenAndMoveToNext(); m_pCurWidgetAcc = nullptr; diff --git a/xfa/fxfa/cxfa_widgetacciterator.h b/xfa/fxfa/cxfa_widgetacciterator.h index 9ad93ad545..6e9da72941 100644 --- a/xfa/fxfa/cxfa_widgetacciterator.h +++ b/xfa/fxfa/cxfa_widgetacciterator.h @@ -17,13 +17,7 @@ class CXFA_WidgetAccIterator { explicit CXFA_WidgetAccIterator(CXFA_Node* pTravelRoot); ~CXFA_WidgetAccIterator(); - void Reset(); - CXFA_WidgetAcc* MoveToFirst(); - CXFA_WidgetAcc* MoveToLast(); CXFA_WidgetAcc* MoveToNext(); - CXFA_WidgetAcc* MoveToPrevious(); - CXFA_WidgetAcc* GetCurrentWidgetAcc(); - bool SetCurrentWidgetAcc(CXFA_WidgetAcc* hWidget); void SkipTree(); private: -- cgit v1.2.3