diff options
author | Nico Weber <thakis@chromium.org> | 2014-07-31 10:07:04 -0700 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2014-07-31 10:07:04 -0700 |
commit | 09363c82b5f309631eed3801b3c1cb4195763dd4 (patch) | |
tree | d27fd2a18f284665837c0ba576ac3e9acc4d9e1a /core/src/fpdfdoc | |
parent | c2df91c93d7d2ec4ffb2e0162d6ed865a71a15df (diff) | |
download | pdfium-09363c82b5f309631eed3801b3c1cb4195763dd4.tar.xz |
Fix a few more -Wreorder warnings.
No intended behavior change.
BUG=pdfium:29
R=bo_xu@foxitsoftware.com
Review URL: https://codereview.chromium.org/436483002
Diffstat (limited to 'core/src/fpdfdoc')
-rw-r--r-- | core/src/fpdfdoc/doc_vt.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/core/src/fpdfdoc/doc_vt.cpp b/core/src/fpdfdoc/doc_vt.cpp index f3b9bbb484..fd3f5bafd1 100644 --- a/core/src/fpdfdoc/doc_vt.cpp +++ b/core/src/fpdfdoc/doc_vt.cpp @@ -317,7 +317,7 @@ void CSection::ClearWord(const CPVT_WordPlace & place) delete m_WordArray.GetAt(place.nWordIndex); m_WordArray.RemoveAt(place.nWordIndex); } -CTypeset::CTypeset(CSection * pSection) : m_pSection(pSection), m_pVT(pSection->m_pVT), m_rcRet(0.0f, 0.0f, 0.0f, 0.0f) +CTypeset::CTypeset(CSection * pSection) : m_rcRet(0.0f, 0.0f, 0.0f, 0.0f), m_pVT(pSection->m_pVT), m_pSection(pSection) { } CTypeset::~CTypeset() @@ -804,21 +804,21 @@ void CTypeset::OutputLines() m_rcRet = CPVT_FloatRect(fMinX, fMinY, fMaxX, fMaxY); } CPDF_VariableText::CPDF_VariableText() : - m_pVTProvider(NULL), - m_pVTIterator(NULL), - m_bInitial(FALSE), - m_bRichText(FALSE), + m_nLimitChar(0), + m_nCharArray(0), m_bMultiLine(FALSE), m_bLimitWidth(FALSE), m_bAutoFontSize(FALSE), - m_nLimitChar(0), - m_nCharArray(0), m_nAlignment(0), + m_fLineLeading(0.0f), m_fCharSpace(0.0f), - m_fFontSize(0.0f), m_nHorzScale(100), m_wSubWord(0), - m_fLineLeading(0.0f) + m_fFontSize(0.0f), + m_bInitial(FALSE), + m_bRichText(FALSE), + m_pVTProvider(NULL), + m_pVTIterator(NULL) { } CPDF_VariableText::~CPDF_VariableText() @@ -1687,8 +1687,8 @@ IPDF_VariableText_Provider* CPDF_VariableText::SetProvider(IPDF_VariableText_Pro return pOld; } CPDF_VariableText_Iterator::CPDF_VariableText_Iterator(CPDF_VariableText * pVT): - m_pVT(pVT), - m_CurPos(-1, -1, -1) + m_CurPos(-1, -1, -1), + m_pVT(pVT) { } CPDF_VariableText_Iterator::~CPDF_VariableText_Iterator() |