Index: core/src/fpdfdoc/doc_formfield.cpp |
diff --git a/core/src/fpdfdoc/doc_formfield.cpp b/core/src/fpdfdoc/doc_formfield.cpp |
index 46ea01083d3d0383d4c0c9a871dc2f0959b29063..dc31938b165df864b8641a92d8451aa2450a4da8 100644 |
--- a/core/src/fpdfdoc/doc_formfield.cpp |
+++ b/core/src/fpdfdoc/doc_formfield.cpp |
@@ -300,14 +300,16 @@ CFX_WideString CPDF_FormField::GetValue(FX_BOOL bDefault) { |
} |
} |
switch (pValue->GetType()) { |
- case PDFOBJ_STRING: |
- case PDFOBJ_STREAM: |
+ case CPDF_Object::STRING: |
+ case CPDF_Object::STREAM: |
return pValue->GetUnicodeText(); |
- case PDFOBJ_ARRAY: |
+ case CPDF_Object::ARRAY: |
pValue = pValue->AsArray()->GetElementValue(0); |
if (pValue) |
return pValue->GetUnicodeText(); |
break; |
+ default: |
+ break; |
} |
return CFX_WideString(); |
} |