From d99a833da49272ee487293177f62274f58762033 Mon Sep 17 00:00:00 2001 From: jaepark Date: Thu, 25 Aug 2016 13:02:39 -0700 Subject: Remove unused m_nTabOrder in CPDFSDK_Annot. Review-Url: https://codereview.chromium.org/2283503002 --- fpdfsdk/cpdfsdk_annot.cpp | 10 +--------- fpdfsdk/include/cpdfsdk_annot.h | 4 ---- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/fpdfsdk/cpdfsdk_annot.cpp b/fpdfsdk/cpdfsdk_annot.cpp index e0abe6f54e..36bec1553e 100644 --- a/fpdfsdk/cpdfsdk_annot.cpp +++ b/fpdfsdk/cpdfsdk_annot.cpp @@ -22,7 +22,7 @@ const float kMinHeight = 1.0f; } // namespace CPDFSDK_Annot::CPDFSDK_Annot(CPDFSDK_PageView* pPageView) - : m_pPageView(pPageView), m_bSelected(FALSE), m_nTabOrder(-1) {} + : m_pPageView(pPageView), m_bSelected(FALSE) {} CPDFSDK_Annot::~CPDFSDK_Annot() {} @@ -84,14 +84,6 @@ void CPDFSDK_Annot::SetSelected(FX_BOOL bSelected) { m_bSelected = bSelected; } -int CPDFSDK_Annot::GetTabOrder() { - return m_nTabOrder; -} - -void CPDFSDK_Annot::SetTabOrder(int iTabOrder) { - m_nTabOrder = iTabOrder; -} - UnderlyingPageType* CPDFSDK_Annot::GetUnderlyingPage() { #ifdef PDF_ENABLE_XFA return GetPDFXFAPage(); diff --git a/fpdfsdk/include/cpdfsdk_annot.h b/fpdfsdk/include/cpdfsdk_annot.h index 5f5cce4728..0fbee9ed7f 100644 --- a/fpdfsdk/include/cpdfsdk_annot.h +++ b/fpdfsdk/include/cpdfsdk_annot.h @@ -53,16 +53,12 @@ class CPDFSDK_Annot { void SetPage(CPDFSDK_PageView* pPageView); CPDFSDK_PageView* GetPageView() const { return m_pPageView; } - int GetTabOrder(); - void SetTabOrder(int iTabOrder); - FX_BOOL IsSelected(); void SetSelected(FX_BOOL bSelected); protected: CPDFSDK_PageView* m_pPageView; FX_BOOL m_bSelected; - int m_nTabOrder; }; #endif // FPDFSDK_INCLUDE_CPDFSDK_ANNOT_H_ -- cgit v1.2.3