diff options
author | dsinclair <dsinclair@chromium.org> | 2016-11-15 12:33:06 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-15 12:33:06 -0800 |
commit | 38eaf4b11383e24a00192132b683cc07e38622a6 (patch) | |
tree | 169f9d48784035519ddee9191aa412cc817a4531 /xfa/fwl/core/ifwl_edit.cpp | |
parent | 05b9a317d66c29f740e4b0e89ea87143a11d61fc (diff) | |
download | pdfium-38eaf4b11383e24a00192132b683cc07e38622a6.tar.xz |
Cleanup cfwl_* files.
This Cl cleans up the visibility, method usage and return values in the
remaining CFWL files.
Review-Url: https://codereview.chromium.org/2498163002
Diffstat (limited to 'xfa/fwl/core/ifwl_edit.cpp')
-rw-r--r-- | xfa/fwl/core/ifwl_edit.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/fwl/core/ifwl_edit.cpp b/xfa/fwl/core/ifwl_edit.cpp index aa3fdcec39..55ee785845 100644 --- a/xfa/fwl/core/ifwl_edit.cpp +++ b/xfa/fwl/core/ifwl_edit.cpp @@ -297,7 +297,7 @@ int32_t IFWL_Edit::GetTextLength() const { void IFWL_Edit::GetText(CFX_WideString& wsText, int32_t nStart, - int32_t nCount) { + int32_t nCount) const { m_EdtEngine.GetText(wsText, nStart, nCount); } @@ -309,11 +309,11 @@ void IFWL_Edit::AddSelRange(int32_t nStart, int32_t nCount) { m_EdtEngine.AddSelRange(nStart, nCount); } -int32_t IFWL_Edit::CountSelRanges() { +int32_t IFWL_Edit::CountSelRanges() const { return m_EdtEngine.CountSelRanges(); } -int32_t IFWL_Edit::GetSelRange(int32_t nIndex, int32_t& nStart) { +int32_t IFWL_Edit::GetSelRange(int32_t nIndex, int32_t& nStart) const { return m_EdtEngine.GetSelRange(nIndex, nStart); } @@ -321,7 +321,7 @@ void IFWL_Edit::ClearSelections() { m_EdtEngine.ClearSelection(); } -int32_t IFWL_Edit::GetLimit() { +int32_t IFWL_Edit::GetLimit() const { return m_nLimit; } |