summaryrefslogtreecommitdiff
path: root/fpdfsdk/src
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2014-07-30 18:59:57 -0700
committerNico Weber <thakis@chromium.org>2014-07-30 18:59:57 -0700
commitec570e5f77986f6013ea42741001be5a3fcf47a7 (patch)
tree9a2298ac78c1bab688b299aa4d74e18eea1b4f67 /fpdfsdk/src
parent96608b3dbd60ecd1f288f2ddfc7af7628d49c0a0 (diff)
downloadpdfium-ec570e5f77986f6013ea42741001be5a3fcf47a7.tar.xz
Fix a few -Wreorder warnings.
BUG=pdfium:29 R=bo_xu@foxitsoftware.com Review URL: https://codereview.chromium.org/427353003
Diffstat (limited to 'fpdfsdk/src')
-rw-r--r--fpdfsdk/src/fxedit/fxet_edit.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/fpdfsdk/src/fxedit/fxet_edit.cpp b/fpdfsdk/src/fxedit/fxet_edit.cpp
index efc7acdca5..2d25ba3383 100644
--- a/fpdfsdk/src/fxedit/fxet_edit.cpp
+++ b/fpdfsdk/src/fxedit/fxet_edit.cpp
@@ -871,12 +871,12 @@ CFXEU_SetSecProps::CFXEU_SetSecProps(CFX_Edit * pEdit, const CPVT_WordPlace & pl
const CPVT_SecProps & newsecprops, const CPVT_WordProps & newwordprops, const CPVT_WordRange & range)
: m_pEdit(pEdit),
m_wpPlace(place),
+ m_wrPlace(range),
m_eProps(ep),
m_OldSecProps(oldsecprops),
m_NewSecProps(newsecprops),
m_OldWordProps(oldwordprops),
- m_NewWordProps(newwordprops),
- m_wrPlace(range)
+ m_NewWordProps(newwordprops)
{
}
@@ -918,10 +918,10 @@ CFXEU_SetWordProps::CFXEU_SetWordProps(CFX_Edit * pEdit, const CPVT_WordPlace &
const CPVT_WordProps & oldprops, const CPVT_WordProps & newprops, const CPVT_WordRange & range)
: m_pEdit(pEdit),
m_wpPlace(place),
+ m_wrPlace(range),
m_eProps(ep),
m_OldWordProps(oldprops),
- m_NewWordProps(newprops),
- m_wrPlace(range)
+ m_NewWordProps(newprops)
{
}
@@ -963,19 +963,19 @@ CFX_Edit::CFX_Edit(IPDF_VariableText * pVT) :
m_pVT(pVT),
m_pNotify(NULL),
m_pOprNotify(NULL),
+ m_pVTProvide(NULL),
m_wpCaret(-1,-1,-1),
m_wpOldCaret(-1,-1,-1),
+ m_SelState(),
m_ptScrollPos(0,0),
m_ptRefreshScrollPos(0,0),
m_bEnableScroll(FALSE),
- m_bEnableOverflow(FALSE),
- m_pVTProvide(NULL),
m_pIterator(NULL),
- m_SelState(),
m_ptCaret(0.0f,0.0f),
m_Undo(FX_EDIT_UNDO_MAXITEM),
m_nAlignment(0),
m_bNotifyFlag(FALSE),
+ m_bEnableOverflow(FALSE),
m_bEnableRefresh(TRUE),
m_rcOldContent(0.0f,0.0f,0.0f,0.0f),
m_bEnableUndo(TRUE),