Index: xfa/fxfa/app/xfa_ffdoc.cpp |
diff --git a/xfa/fxfa/app/xfa_ffdoc.cpp b/xfa/fxfa/app/xfa_ffdoc.cpp |
index 25c78bd14b48e28b36e13152959566bbd930140a..efc7d7a51512e6b1bab864fc4388199e780177b8 100644 |
--- a/xfa/fxfa/app/xfa_ffdoc.cpp |
+++ b/xfa/fxfa/app/xfa_ffdoc.cpp |
@@ -358,8 +358,7 @@ FX_BOOL CXFA_FFDoc::CloseDoc() { |
delete pair.second.pDibSource; |
m_HashToDibDpiMap.clear(); |
- |
- FWL_GetApp()->GetNoteDriver()->ClearEventTargets(FALSE); |
+ m_pApp->ClearEventTargets(); |
return TRUE; |
} |
void CXFA_FFDoc::SetDocType(uint32_t dwType) { |