Index: fpdfsdk/fsdk_mgr.cpp |
diff --git a/fpdfsdk/fsdk_mgr.cpp b/fpdfsdk/fsdk_mgr.cpp |
index 95a08a740c5ae58a1893176f442dcdd0bd67d3be..40a891ca1e1e046d27e721fcb150fddf9732d462 100644 |
--- a/fpdfsdk/fsdk_mgr.cpp |
+++ b/fpdfsdk/fsdk_mgr.cpp |
@@ -907,10 +907,9 @@ void CPDFSDK_PageView::LoadFXAnnots() { |
if (m_pSDKDoc->GetXFADocument()->GetDocType() == DOCTYPE_DYNAMIC_XFA) { |
CXFA_FFPageView* pageView = m_page->GetXFAPageView(); |
std::unique_ptr<IXFA_WidgetIterator> pWidgetHander( |
- pageView->CreateWidgetIterator(XFA_TRAVERSEWAY_Form, |
- XFA_WIDGETFILTER_Visible | |
- XFA_WIDGETFILTER_Viewable | |
- XFA_WIDGETFILTER_AllType)); |
+ pageView->CreateWidgetIterator( |
+ XFA_TRAVERSEWAY_Form, |
+ XFA_WidgetStatus_Visible | XFA_WidgetStatus_Viewable)); |
if (!pWidgetHander) { |
SetLock(FALSE); |
return; |