summaryrefslogtreecommitdiff
path: root/fpdfsdk/fxedit/fxet_edit.cpp
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-09-14 11:54:44 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-14 11:54:44 -0700
commit41d6bbe3d413e7854be89142b70c42a89e315cba (patch)
treeeb1515b93e1b1652b1aab1a88255221279e288a8 /fpdfsdk/fxedit/fxet_edit.cpp
parent1f2489023f2b808c41071d992abceb646ade8e1b (diff)
downloadpdfium-41d6bbe3d413e7854be89142b70c42a89e315cba.tar.xz
Delete unused parameter nWordStyle from GetCharWidth()chromium/2861
Deleted parameter from callers, who also do not use it. Review-Url: https://codereview.chromium.org/2337973004
Diffstat (limited to 'fpdfsdk/fxedit/fxet_edit.cpp')
-rw-r--r--fpdfsdk/fxedit/fxet_edit.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/fpdfsdk/fxedit/fxet_edit.cpp b/fpdfsdk/fxedit/fxet_edit.cpp
index df8d9ca51d..f4350f310e 100644
--- a/fpdfsdk/fxedit/fxet_edit.cpp
+++ b/fpdfsdk/fxedit/fxet_edit.cpp
@@ -223,9 +223,7 @@ IPVT_FontMap* CFX_Edit_Provider::GetFontMap() {
return m_pFontMap;
}
-int32_t CFX_Edit_Provider::GetCharWidth(int32_t nFontIndex,
- uint16_t word,
- int32_t nWordStyle) {
+int32_t CFX_Edit_Provider::GetCharWidth(int32_t nFontIndex, uint16_t word) {
if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) {
uint32_t charcode = word;