summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_annot.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-06-02 12:48:22 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-06-02 20:14:51 +0000
commit3db875920a253a8541642a2aa913f474b125d67f (patch)
treeed3ad0fe9b2c2d71525e1b6b86c50d1f9aae3727 /fpdfsdk/cpdfsdk_annot.cpp
parent4f34c64914be17966f2d91591921dec635582061 (diff)
downloadpdfium-3db875920a253a8541642a2aa913f474b125d67f.tar.xz
Remove dead CPDFSDK_Annot code.chromium/3119
Change-Id: Ied77912f0f657ebc8e36469365de230e552e4956 Reviewed-on: https://pdfium-review.googlesource.com/6233 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_annot.cpp')
-rw-r--r--fpdfsdk/cpdfsdk_annot.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/fpdfsdk/cpdfsdk_annot.cpp b/fpdfsdk/cpdfsdk_annot.cpp
index dcfcac92fc..e105ed90fb 100644
--- a/fpdfsdk/cpdfsdk_annot.cpp
+++ b/fpdfsdk/cpdfsdk_annot.cpp
@@ -23,7 +23,7 @@ const float kMinHeight = 1.0f;
} // namespace
CPDFSDK_Annot::CPDFSDK_Annot(CPDFSDK_PageView* pPageView)
- : m_pPageView(pPageView), m_bSelected(false) {}
+ : m_pPageView(pPageView) {}
CPDFSDK_Annot::~CPDFSDK_Annot() {}
@@ -73,18 +73,6 @@ CFX_FloatRect CPDFSDK_Annot::GetRect() const {
return CFX_FloatRect();
}
-void CPDFSDK_Annot::Annot_OnDraw(CFX_RenderDevice* pDevice,
- CFX_Matrix* pUser2Device,
- CPDF_RenderOptions* pOptions) {}
-
-bool CPDFSDK_Annot::IsSelected() {
- return m_bSelected;
-}
-
-void CPDFSDK_Annot::SetSelected(bool bSelected) {
- m_bSelected = bSelected;
-}
-
UnderlyingPageType* CPDFSDK_Annot::GetUnderlyingPage() {
#ifdef PDF_ENABLE_XFA
return GetPDFXFAPage();