summaryrefslogtreecommitdiff
path: root/xfa/fwl
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl')
-rw-r--r--xfa/fwl/cfwl_edit.cpp18
-rw-r--r--xfa/fwl/cfwl_edit.h2
2 files changed, 0 insertions, 20 deletions
diff --git a/xfa/fwl/cfwl_edit.cpp b/xfa/fwl/cfwl_edit.cpp
index 6e56ab2485..5ec9378f09 100644
--- a/xfa/fwl/cfwl_edit.cpp
+++ b/xfa/fwl/cfwl_edit.cpp
@@ -425,24 +425,6 @@ void CFWL_Edit::OnSelChanged() {
RepaintRect(GetClientRect());
}
-bool CFWL_Edit::OnPageLoad(int32_t nPageIndex) {
- CFDE_TxtEdtPage* pPage = m_EdtEngine.GetPage(nPageIndex);
- if (!pPage)
- return false;
-
- pPage->LoadPage();
- return true;
-}
-
-bool CFWL_Edit::OnPageUnload(int32_t nPageIndex) {
- CFDE_TxtEdtPage* pPage = m_EdtEngine.GetPage(nPageIndex);
- if (!pPage)
- return false;
-
- pPage->UnloadPage();
- return true;
-}
-
void CFWL_Edit::OnAddDoRecord(std::unique_ptr<IFDE_TxtEdtDoRecord> pRecord) {
AddDoRecord(std::move(pRecord));
}
diff --git a/xfa/fwl/cfwl_edit.h b/xfa/fwl/cfwl_edit.h
index c0583cd7af..4a30904b0a 100644
--- a/xfa/fwl/cfwl_edit.h
+++ b/xfa/fwl/cfwl_edit.h
@@ -94,8 +94,6 @@ class CFWL_Edit : public CFWL_Widget {
void OnCaretChanged();
void OnTextChanged(const CFX_WideString& prevText);
void OnSelChanged();
- bool OnPageLoad(int32_t nPageIndex);
- bool OnPageUnload(int32_t nPageIndex);
void OnAddDoRecord(std::unique_ptr<IFDE_TxtEdtDoRecord> pRecord);
bool OnValidate(const CFX_WideString& wsText);
void SetScrollOffset(float fScrollOffset);