From 09363c82b5f309631eed3801b3c1cb4195763dd4 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Thu, 31 Jul 2014 10:07:04 -0700 Subject: 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 --- core/src/fpdfdoc/doc_vt.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'core') 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() -- cgit v1.2.3