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/include | |
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/include')
-rw-r--r-- | core/fpdfdoc/include/cpdf_variabletext.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/core/fpdfdoc/include/cpdf_variabletext.h b/core/fpdfdoc/include/cpdf_variabletext.h index 83e74b867e..31cf75ff0b 100644 --- a/core/fpdfdoc/include/cpdf_variabletext.h +++ b/core/fpdfdoc/include/cpdf_variabletext.h @@ -66,9 +66,7 @@ class CPDF_VariableText { explicit Provider(IPVT_FontMap* pFontMap); virtual ~Provider(); - virtual int32_t GetCharWidth(int32_t nFontIndex, - uint16_t word, - int32_t nWordStyle); + virtual int32_t GetCharWidth(int32_t nFontIndex, uint16_t word); virtual int32_t GetTypeAscent(int32_t nFontIndex); virtual int32_t GetTypeDescent(int32_t nFontIndex); virtual int32_t GetWordFontIndex(uint16_t word, @@ -166,10 +164,7 @@ class CPDF_VariableText { friend class CTypeset; friend class CSection; - int32_t GetCharWidth(int32_t nFontIndex, - uint16_t Word, - uint16_t SubWord, - int32_t nWordStyle); + int32_t GetCharWidth(int32_t nFontIndex, uint16_t Word, uint16_t SubWord); int32_t GetTypeAscent(int32_t nFontIndex); int32_t GetTypeDescent(int32_t nFontIndex); int32_t GetWordFontIndex(uint16_t word, int32_t charset, int32_t nFontIndex); @@ -195,8 +190,7 @@ class CPDF_VariableText { FX_FLOAT fCharSpace, int32_t nHorzScale, FX_FLOAT fFontSize, - FX_FLOAT fWordTail, - int32_t nWordStyle); + FX_FLOAT fWordTail); FX_FLOAT GetWordWidth(const CPVT_WordInfo& WordInfo); FX_FLOAT GetWordAscent(const CPVT_WordInfo& WordInfo, FX_FLOAT fFontSize); FX_FLOAT GetWordDescent(const CPVT_WordInfo& WordInfo, FX_FLOAT fFontSize); |