summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk')
-rw-r--r--fpdfsdk/cpdfsdk_annot.cpp10
-rw-r--r--fpdfsdk/include/cpdfsdk_annot.h4
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_