diff options
author | Jane Liu <janeliulwq@google.com> | 2017-08-21 10:26:25 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-21 15:18:36 +0000 |
commit | 3fa212abba3b6977a4e47981116bb0a3f4017221 (patch) | |
tree | bcf288f01955521b52d9806f510ea9a4d14bd6b2 /xfa/fde/cfde_txtedtengine.h | |
parent | 69ad278881f83a1f8cf45d5a42a88752c0871c7e (diff) | |
download | pdfium-3fa212abba3b6977a4e47981116bb0a3f4017221.tar.xz |
Converted CFDE_TxtEdt{Buf|Engine}::Insert() to take CFX_WideString
Converted CFDE_TxtEdtBuf::Insert(), CFDE_TxtEdtEngine::Insert(), and
CFDE_TxtEdtEngine::Inner_Insert() to take in CFX_WideString instead of
a wchar_t* and length.
Bug=pdfium:757
Change-Id: I6097e9b0d4e584b920b2117b4c5489eedef37767
Reviewed-on: https://pdfium-review.googlesource.com/11411
Commit-Queue: Jane Liu <janeliulwq@google.com>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fde/cfde_txtedtengine.h')
-rw-r--r-- | xfa/fde/cfde_txtedtengine.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fde/cfde_txtedtengine.h b/xfa/fde/cfde_txtedtengine.h index b22c36f5ec..40251159c0 100644 --- a/xfa/fde/cfde_txtedtengine.h +++ b/xfa/fde/cfde_txtedtengine.h @@ -130,7 +130,7 @@ class CFDE_TxtEdtEngine { bool IsSelect() const { return !m_SelRangePtrArr.empty(); } void Inner_DeleteRange(int32_t nStart, int32_t nCount); - void Inner_Insert(int32_t nStart, const wchar_t* lpText, int32_t nLength); + void Inner_Insert(int32_t nStart, const CFX_WideString& wsText); const FDE_TXTEDTPARAMS* GetParams() const { return &m_Param; } private: |