Index: fpdfsdk/fpdfformfill.cpp |
diff --git a/fpdfsdk/fpdfformfill.cpp b/fpdfsdk/fpdfformfill.cpp |
index 94a8bf12a5e0a4dbf6bb8b7432316a9a266f5dfb..f949da1019d221752c550d60a546621882944035 100644 |
--- a/fpdfsdk/fpdfformfill.cpp |
+++ b/fpdfsdk/fpdfformfill.cpp |
@@ -92,9 +92,8 @@ DLLEXPORT int STDCALL FPDFPage_HasFormFieldAtPoint(FPDF_FORMHANDLE hHandle, |
return -1; |
std::unique_ptr<IXFA_WidgetIterator> pWidgetIterator( |
- pPageView->CreateWidgetIterator( |
- XFA_TRAVERSEWAY_Form, |
- XFA_WIDGETFILTER_Viewable | XFA_WIDGETFILTER_AllType)); |
+ pPageView->CreateWidgetIterator(XFA_TRAVERSEWAY_Form, |
+ XFA_WidgetStatus_Viewable)); |
if (!pWidgetIterator) |
return -1; |