summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_edit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/cfwl_edit.cpp')
-rw-r--r--xfa/fwl/cfwl_edit.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fwl/cfwl_edit.cpp b/xfa/fwl/cfwl_edit.cpp
index 1b76ec6240..2dc4bcff7b 100644
--- a/xfa/fwl/cfwl_edit.cpp
+++ b/xfa/fwl/cfwl_edit.cpp
@@ -439,7 +439,7 @@ bool CFWL_Edit::OnPageLoad(int32_t nPageIndex) {
if (!pPage)
return false;
- pPage->LoadPage(nullptr, nullptr);
+ pPage->LoadPage(nullptr);
return true;
}
@@ -698,11 +698,11 @@ void CFWL_Edit::UpdateEditLayout() {
pPage->UnloadPage(nullptr);
m_EdtEngine.StartLayout();
- m_EdtEngine.DoLayout(nullptr);
+ m_EdtEngine.DoLayout();
m_EdtEngine.EndLayout();
pPage = m_EdtEngine.GetPage(0);
if (pPage)
- pPage->LoadPage(nullptr, nullptr);
+ pPage->LoadPage(nullptr);
}
bool CFWL_Edit::UpdateOffset() {