Index: fpdfsdk/cpdfsdk_widget.cpp |
diff --git a/fpdfsdk/cpdfsdk_widget.cpp b/fpdfsdk/cpdfsdk_widget.cpp |
index dcccf0ce1aa1c1434e687f6726c7d44eb5c0cc15..73ba23d076a8feb0c9e198a0bb6f300136692c5c 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 { |