Index: fpdfsdk/src/fsdk_baseform.cpp |
diff --git a/fpdfsdk/src/fsdk_baseform.cpp b/fpdfsdk/src/fsdk_baseform.cpp |
index 2341cfcfceebecae1a0a4844b2ecded32fbfa874..bad8f3591ab902acf80fd1f73b464bf8b2058d88 100644 |
--- a/fpdfsdk/src/fsdk_baseform.cpp |
+++ b/fpdfsdk/src/fsdk_baseform.cpp |
@@ -513,7 +513,7 @@ FX_BOOL CPDFSDK_Widget::IsWidgetAppearanceValid( |
case FIELDTYPE_LISTBOX: |
case FIELDTYPE_TEXTFIELD: |
case FIELDTYPE_SIGNATURE: |
- return psub->GetType() == PDFOBJ_STREAM; |
+ return psub->IsStream(); |
case FIELDTYPE_CHECKBOX: |
case FIELDTYPE_RADIOBUTTON: |
if (CPDF_Dictionary* pSubDict = psub->AsDictionary()) { |