From 3bb0a34cc75abe49a59c6390353957bbb5c5ab38 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Mon, 21 Aug 2017 15:08:17 -0400 Subject: Convert the CFDE_TxtEdtEngine::Insert results into an enum class This CL converts the return value to be an enum class and updates the usages to use the names instead of values. Change-Id: I8b6927551679ac4103775a04187daad2e0d6c569 Reviewed-on: https://pdfium-review.googlesource.com/11512 Reviewed-by: Ryan Harrison Commit-Queue: dsinclair --- xfa/fwl/cfwl_edit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xfa/fwl/cfwl_edit.h') diff --git a/xfa/fwl/cfwl_edit.h b/xfa/fwl/cfwl_edit.h index 23d6158ee6..c0583cd7af 100644 --- a/xfa/fwl/cfwl_edit.h +++ b/xfa/fwl/cfwl_edit.h @@ -139,7 +139,7 @@ class CFWL_Edit : public CFWL_Widget { bool IsShowScrollBar(bool bVert); bool IsContentHeightOverflow(); int32_t AddDoRecord(std::unique_ptr pRecord); - void ProcessInsertError(int32_t iError); + void ProcessInsertError(FDE_EditResult iError); void AddSpellCheckObj(CXFA_Path& PathData, int32_t nStart, int32_t nCount, -- cgit v1.2.3