summaryrefslogtreecommitdiff
path: root/core/fxcrt
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-02-28 14:48:51 -0500
committerChromium commit bot <commit-bot@chromium.org>2017-02-28 20:37:58 +0000
commit70719432f41eedeb405f3851ad88960c74e506be (patch)
treea85f4cb5ebb3be81a36411896c85a352c23d9d83 /core/fxcrt
parentd2ee0f309037e3f4e8384b616a2a615e7ee8d6ee (diff)
downloadpdfium-70719432f41eedeb405f3851ad88960c74e506be.tar.xz
Remove unused methods from RTFBreak and TextBreak
This Cl removes unused methods from the RTFBreak and TextBreak classes. Change-Id: If1e7e041cfd32b3be1240ae759f73c503b9c4cad Reviewed-on: https://pdfium-review.googlesource.com/2878 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'core/fxcrt')
-rw-r--r--core/fxcrt/fx_ucd.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/fxcrt/fx_ucd.h b/core/fxcrt/fx_ucd.h
index feb258d7fc..aa6dc5d118 100644
--- a/core/fxcrt/fx_ucd.h
+++ b/core/fxcrt/fx_ucd.h
@@ -125,14 +125,15 @@ class CFX_Char {
m_dwCharProps(0),
m_iCharWidth(0),
m_iHorizontalScale(100),
- m_iVertialScale(100) {}
+ m_iVerticalScale(100) {}
+
CFX_Char(uint16_t wCharCode, uint32_t dwCharProps)
: m_wCharCode(wCharCode),
m_nBreakType(0),
m_dwCharProps(dwCharProps),
m_iCharWidth(0),
m_iHorizontalScale(100),
- m_iVertialScale(100) {}
+ m_iVerticalScale(100) {}
FX_CHARTYPE GetCharType() const { return GetCharTypeFromProp(m_dwCharProps); }
@@ -141,7 +142,7 @@ class CFX_Char {
uint32_t m_dwCharProps;
int32_t m_iCharWidth;
int32_t m_iHorizontalScale;
- int32_t m_iVertialScale;
+ int32_t m_iVerticalScale;
};
class CFX_TxtChar : public CFX_Char {