diff options
author | jaepark <jaepark@google.com> | 2016-08-25 13:02:39 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-25 13:02:39 -0700 |
commit | d99a833da49272ee487293177f62274f58762033 (patch) | |
tree | 63f98a74f204a01316650de1fd84aa643eeb32c6 | |
parent | 00edbe4b5b47d8007ba2de97722170acffbf8fa2 (diff) | |
download | pdfium-d99a833da49272ee487293177f62274f58762033.tar.xz |
Remove unused m_nTabOrder in CPDFSDK_Annot.
Review-Url: https://codereview.chromium.org/2283503002
-rw-r--r-- | fpdfsdk/cpdfsdk_annot.cpp | 10 | ||||
-rw-r--r-- | fpdfsdk/include/cpdfsdk_annot.h | 4 |
2 files changed, 1 insertions, 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_ |