summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk')
-rw-r--r--fpdfsdk/cpdfsdk_bfannothandler.cpp4
-rw-r--r--fpdfsdk/cpdfsdk_xfaannothandler.cpp4
-rw-r--r--fpdfsdk/include/cpdfsdk_bfannothandler.h1
-rw-r--r--fpdfsdk/include/cpdfsdk_xfaannothandler.h1
-rw-r--r--fpdfsdk/include/ipdfsdk_annothandler.h1
5 files changed, 0 insertions, 11 deletions
diff --git a/fpdfsdk/cpdfsdk_bfannothandler.cpp b/fpdfsdk/cpdfsdk_bfannothandler.cpp
index 0617e44299..4742e5d275 100644
--- a/fpdfsdk/cpdfsdk_bfannothandler.cpp
+++ b/fpdfsdk/cpdfsdk_bfannothandler.cpp
@@ -31,10 +31,6 @@ CFX_ByteString CPDFSDK_BFAnnotHandler::GetType() {
return CFX_ByteString("Widget");
}
-CFX_ByteString CPDFSDK_BFAnnotHandler::GetName() {
- return CFX_ByteString("WidgetHandler");
-}
-
FX_BOOL CPDFSDK_BFAnnotHandler::CanAnswer(CPDFSDK_Annot* pAnnot) {
ASSERT(pAnnot->GetType() == "Widget");
if (pAnnot->GetSubType() == BFFT_SIGNATURE)
diff --git a/fpdfsdk/cpdfsdk_xfaannothandler.cpp b/fpdfsdk/cpdfsdk_xfaannothandler.cpp
index 94f6f4abdc..2f4599da5d 100644
--- a/fpdfsdk/cpdfsdk_xfaannothandler.cpp
+++ b/fpdfsdk/cpdfsdk_xfaannothandler.cpp
@@ -29,10 +29,6 @@ CFX_ByteString CPDFSDK_XFAAnnotHandler::GetType() {
return FSDK_XFAWIDGET_TYPENAME;
}
-CFX_ByteString CPDFSDK_XFAAnnotHandler::GetName() {
- return "XFAWidgetHandler";
-}
-
FX_BOOL CPDFSDK_XFAAnnotHandler::CanAnswer(CPDFSDK_Annot* pAnnot) {
return !!pAnnot->GetXFAWidget();
}
diff --git a/fpdfsdk/include/cpdfsdk_bfannothandler.h b/fpdfsdk/include/cpdfsdk_bfannothandler.h
index 1fbc13ceee..be7e79279d 100644
--- a/fpdfsdk/include/cpdfsdk_bfannothandler.h
+++ b/fpdfsdk/include/cpdfsdk_bfannothandler.h
@@ -29,7 +29,6 @@ class CPDFSDK_BFAnnotHandler : public IPDFSDK_AnnotHandler {
~CPDFSDK_BFAnnotHandler() override;
CFX_ByteString GetType() override;
- CFX_ByteString GetName() override;
FX_BOOL CanAnswer(CPDFSDK_Annot* pAnnot) override;
CPDFSDK_Annot* NewAnnot(CPDF_Annot* pAnnot, CPDFSDK_PageView* pPage) override;
#ifdef PDF_ENABLE_XFA
diff --git a/fpdfsdk/include/cpdfsdk_xfaannothandler.h b/fpdfsdk/include/cpdfsdk_xfaannothandler.h
index db5e4b7ea6..2dd6f297a7 100644
--- a/fpdfsdk/include/cpdfsdk_xfaannothandler.h
+++ b/fpdfsdk/include/cpdfsdk_xfaannothandler.h
@@ -26,7 +26,6 @@ class CPDFSDK_XFAAnnotHandler : public IPDFSDK_AnnotHandler {
~CPDFSDK_XFAAnnotHandler() override;
CFX_ByteString GetType() override;
- CFX_ByteString GetName() override;
FX_BOOL CanAnswer(CPDFSDK_Annot* pAnnot) override;
CPDFSDK_Annot* NewAnnot(CPDF_Annot* pAnnot, CPDFSDK_PageView* pPage) override;
CPDFSDK_Annot* NewAnnot(CXFA_FFWidget* pAnnot,
diff --git a/fpdfsdk/include/ipdfsdk_annothandler.h b/fpdfsdk/include/ipdfsdk_annothandler.h
index ac7be62bce..0dd1a93cc8 100644
--- a/fpdfsdk/include/ipdfsdk_annothandler.h
+++ b/fpdfsdk/include/ipdfsdk_annothandler.h
@@ -29,7 +29,6 @@ class IPDFSDK_AnnotHandler {
virtual ~IPDFSDK_AnnotHandler() {}
virtual CFX_ByteString GetType() = 0;
- virtual CFX_ByteString GetName() = 0;
virtual FX_BOOL CanAnswer(CPDFSDK_Annot* pAnnot) = 0;
virtual CPDFSDK_Annot* NewAnnot(CPDF_Annot* pAnnot,
CPDFSDK_PageView* pPage) = 0;