diff options
author | npm <npm@chromium.org> | 2016-09-14 11:54:44 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-14 11:54:44 -0700 |
commit | 41d6bbe3d413e7854be89142b70c42a89e315cba (patch) | |
tree | eb1515b93e1b1652b1aab1a88255221279e288a8 /core/fpdfdoc/ctypeset.cpp | |
parent | 1f2489023f2b808c41071d992abceb646ade8e1b (diff) | |
download | pdfium-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 'core/fpdfdoc/ctypeset.cpp')
-rw-r--r-- | core/fpdfdoc/ctypeset.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfdoc/ctypeset.cpp b/core/fpdfdoc/ctypeset.cpp index 0e5ef2d41b..cfaeb4ca7c 100644 --- a/core/fpdfdoc/ctypeset.cpp +++ b/core/fpdfdoc/ctypeset.cpp @@ -312,7 +312,7 @@ void CTypeset::SplitLines(FX_BOOL bTypeset, FX_FLOAT fFontSize) { fWordWidth = m_pVT->GetWordWidth( pWord->nFontIndex, pWord->Word, m_pVT->m_wSubWord, m_pVT->m_fCharSpace, m_pVT->m_nHorzScale, fFontSize, - pWord->fWordTail, 0); + pWord->fWordTail); } if (!bOpened) { if (IsOpenStylePunctuation(pWord->Word)) { |