summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-10-05 14:27:34 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-10-05 18:57:26 +0000
commitb01848adb2cdac166fb1ea5500c8ad367c8f600f (patch)
treee954108203fb12d027528c33315aa4aa2cb9d73c /fpdfsdk
parent569817cfffe7410765c97c6deebef3a795bac0f6 (diff)
downloadpdfium-b01848adb2cdac166fb1ea5500c8ad367c8f600f.tar.xz
Remove unused parameters
Remove unused params from CPDF_VariableText methods. Change-Id: Ia02f99ea84f0c29e9f674a2cb837b422de390d33 Reviewed-on: https://pdfium-review.googlesource.com/15670 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk')
-rw-r--r--fpdfsdk/pwl/cpwl_edit_impl.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/fpdfsdk/pwl/cpwl_edit_impl.cpp b/fpdfsdk/pwl/cpwl_edit_impl.cpp
index 7d8c0c3ba6..7da5cddc4a 100644
--- a/fpdfsdk/pwl/cpwl_edit_impl.cpp
+++ b/fpdfsdk/pwl/cpwl_edit_impl.cpp
@@ -1535,8 +1535,8 @@ bool CPWL_EditImpl::InsertWord(uint16_t word,
return false;
m_pVT->UpdateWordPlace(m_wpCaret);
- SetCaret(m_pVT->InsertWord(m_wpCaret, word,
- GetCharSetFromUnicode(word, charset), pWordProps));
+ SetCaret(
+ m_pVT->InsertWord(m_wpCaret, word, GetCharSetFromUnicode(word, charset)));
m_SelState.Set(m_wpCaret, m_wpCaret);
if (m_wpCaret == m_wpOldCaret)
return false;
@@ -1562,7 +1562,7 @@ bool CPWL_EditImpl::InsertReturn(const CPVT_SecProps* pSecProps,
return false;
m_pVT->UpdateWordPlace(m_wpCaret);
- SetCaret(m_pVT->InsertSection(m_wpCaret, pSecProps, pWordProps));
+ SetCaret(m_pVT->InsertSection(m_wpCaret));
m_SelState.Set(m_wpCaret, m_wpCaret);
if (m_wpCaret == m_wpOldCaret)
return false;
@@ -1846,18 +1846,18 @@ CPVT_WordPlace CPWL_EditImpl::DoInsertText(const CPVT_WordPlace& place,
uint16_t word = sText[i];
switch (word) {
case 0x0D:
- wp = m_pVT->InsertSection(wp, nullptr, nullptr);
+ wp = m_pVT->InsertSection(wp);
if (i + 1 < sz && sText[i + 1] == 0x0A)
i++;
break;
case 0x0A:
- wp = m_pVT->InsertSection(wp, nullptr, nullptr);
+ wp = m_pVT->InsertSection(wp);
break;
case 0x09:
word = 0x20;
default:
- wp = m_pVT->InsertWord(wp, word, GetCharSetFromUnicode(word, charset),
- nullptr);
+ wp =
+ m_pVT->InsertWord(wp, word, GetCharSetFromUnicode(word, charset));
break;
}
}