Index: xfa/src/fxfa/src/app/xfa_ffdocview.cpp |
diff --git a/xfa/src/fxfa/src/app/xfa_ffdocview.cpp b/xfa/src/fxfa/src/app/xfa_ffdocview.cpp |
index 05b78ecca496a35b67e4a74bc1a1072517a2adcb..7d64e369644a8cb3d91d6aceaf1c5f2b7a9147b7 100644 |
--- a/xfa/src/fxfa/src/app/xfa_ffdocview.cpp |
+++ b/xfa/src/fxfa/src/app/xfa_ffdocview.cpp |
@@ -599,9 +599,13 @@ FX_BOOL CXFA_FFDocView::RunLayout() { |
m_pXFADocLayout->DoLayout(); |
UnlockUpdate(); |
m_bInLayoutStatus = FALSE; |
+ m_pDoc->GetDocProvider()->PageViewEvent(nullptr, |
+ XFA_PAGEVIEWEVENT_StopLayout); |
return TRUE; |
} |
m_bInLayoutStatus = FALSE; |
+ m_pDoc->GetDocProvider()->PageViewEvent(nullptr, |
+ XFA_PAGEVIEWEVENT_StopLayout); |
UnlockUpdate(); |
return FALSE; |
} |