diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-08-15 09:43:07 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-15 15:00:00 +0000 |
commit | 171cb27a720036c48ae3a6176084e880742af0a9 (patch) | |
tree | 8f4d2f9b2db6cc233b835d1ef24f7d71c723f05c /xfa/fwl/cfwl_edit.cpp | |
parent | 73b492a5d775c05d8c186c8478d1003edfffd34c (diff) | |
download | pdfium-171cb27a720036c48ae3a6176084e880742af0a9.tar.xz |
Remove default params from xfa/fde code.
This CL removes the default params from methods in xfa/fde.
Change-Id: Ide93a51430c62753656b9e9c0bcd842d8179aa3c
Reviewed-on: https://pdfium-review.googlesource.com/10952
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fwl/cfwl_edit.cpp')
-rw-r--r-- | xfa/fwl/cfwl_edit.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/fwl/cfwl_edit.cpp b/xfa/fwl/cfwl_edit.cpp index 526275313f..92d8c0266b 100644 --- a/xfa/fwl/cfwl_edit.cpp +++ b/xfa/fwl/cfwl_edit.cpp @@ -348,7 +348,7 @@ bool CFWL_Edit::Cut(CFX_WideString& wsCut) { wsCut += wsTemp; wsTemp.clear(); } - m_EdtEngine.Delete(0); + m_EdtEngine.Delete(0, false); return true; } @@ -623,13 +623,13 @@ void CFWL_Edit::RenderText(CFX_RenderDevice* pRenderDev, if (!rtDocClip.IntersectWith(pTextSet->GetRect(pText))) continue; - int32_t iCount = pTextSet->GetDisplayPos(pText, nullptr, false); + int32_t iCount = pTextSet->GetDisplayPos(pText, nullptr); if (iCount < 1) continue; if (char_pos.size() < static_cast<size_t>(iCount)) char_pos.resize(iCount, FXTEXT_CHARPOS()); - iCount = pTextSet->GetDisplayPos(pText, char_pos.data(), false); + iCount = pTextSet->GetDisplayPos(pText, char_pos.data()); CFDE_TextOut::DrawString(pRenderDev, pTextSet->GetFontColor(), pFont, char_pos.data(), iCount, pTextSet->GetFontSize(), &mt); @@ -1432,7 +1432,7 @@ void CFWL_Edit::OnKeyDown(CFWL_MessageKey* pMsg) { #if (_FX_OS_ == _FX_MACOSX_) m_EdtEngine.Delete(nCaret, true); #else - m_EdtEngine.Delete(nCaret); + m_EdtEngine.Delete(nCaret, false); #endif break; } |