summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/cpdfsdk_widget.cpp')
-rw-r--r--fpdfsdk/cpdfsdk_widget.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/fpdfsdk/cpdfsdk_widget.cpp b/fpdfsdk/cpdfsdk_widget.cpp
index dcccf0ce1a..73ba23d076 100644
--- a/fpdfsdk/cpdfsdk_widget.cpp
+++ b/fpdfsdk/cpdfsdk_widget.cpp
@@ -546,12 +546,8 @@ int CPDFSDK_Widget::GetFieldFlags() const {
return pFormField->GetFieldFlags();
}
-CFX_ByteString CPDFSDK_Widget::GetSubType() const {
- int nType = GetFieldType();
-
- if (nType == FIELDTYPE_SIGNATURE)
- return BFFT_SIGNATURE;
- return CPDFSDK_Annot::GetSubType();
+bool CPDFSDK_Widget::IsSignatureWidget() const {
+ return GetFieldType() == FIELDTYPE_SIGNATURE;
}
CPDF_FormField* CPDFSDK_Widget::GetFormField() const {