diff options
Diffstat (limited to 'xfa/fwl/cfwl_edit.cpp')
-rw-r--r-- | xfa/fwl/cfwl_edit.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xfa/fwl/cfwl_edit.cpp b/xfa/fwl/cfwl_edit.cpp index eb54375e29..9e38187ef8 100644 --- a/xfa/fwl/cfwl_edit.cpp +++ b/xfa/fwl/cfwl_edit.cpp @@ -726,9 +726,8 @@ void CFWL_Edit::UpdateEditLayout() { if (pPage) pPage->UnloadPage(nullptr); - m_EdtEngine.StartLayout(); - m_EdtEngine.DoLayout(); - m_EdtEngine.EndLayout(); + m_EdtEngine.Layout(); + pPage = m_EdtEngine.GetPage(0); if (pPage) pPage->LoadPage(nullptr); |