diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2018-05-01 22:26:44 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-05-01 22:26:44 +0000 |
commit | c9cd2874278e5395a150d8ad08f44bc738bce6be (patch) | |
tree | 7ba4f86d5d913cc0b6ae8dc37f78fa1e82cadb8c /xfa/fxfa/parser/cxfa_node.h | |
parent | 2e118e8f73f939fa93d144470e7fa31228e7e74d (diff) | |
download | pdfium-c9cd2874278e5395a150d8ad08f44bc738bce6be.tar.xz |
Transform float out params from reference to pointer in CXFA_Node.
Change-Id: I4039917c5342f6a4c6568029a293066901bb5db4
Reviewed-on: https://pdfium-review.googlesource.com/31870
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_node.h')
-rw-r--r-- | xfa/fxfa/parser/cxfa_node.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xfa/fxfa/parser/cxfa_node.h b/xfa/fxfa/parser/cxfa_node.h index 0762aa6d77..32e5cfd861 100644 --- a/xfa/fxfa/parser/cxfa_node.h +++ b/xfa/fxfa/parser/cxfa_node.h @@ -300,11 +300,11 @@ class CXFA_Node : public CXFA_Object { CXFA_FFWidget* GetNextWidget(CXFA_FFWidget* pWidget); void StartWidgetLayout(CXFA_FFDoc* doc, - float& fCalcWidth, - float& fCalcHeight); + float* pCalcWidth, + float* pCalcHeight); bool FindSplitPos(CXFA_FFDocView* docView, int32_t iBlockIndex, - float& fCalcHeight); + float* pCalcHeight); bool LoadCaption(CXFA_FFDoc* doc); CXFA_TextLayout* GetCaptionTextLayout(); @@ -462,10 +462,10 @@ class CXFA_Node : public CXFA_Object { float GetHeightWithoutMargin(float fHeightCalc); void CalculateTextContentSize(CXFA_FFDoc* doc, CFX_SizeF* pSize); void CalculateAccWidthAndHeight(CXFA_FFDoc* doc, - float& fWidth, - float& fCalcHeight); + float* pWidth, + float* pCalcHeight); void InitLayoutData(); - void StartTextLayout(CXFA_FFDoc* doc, float& fCalcWidth, float& fCalcHeight); + void StartTextLayout(CXFA_FFDoc* doc, float* pCalcWidth, float* pCalcHeight); void InsertListTextItem(CXFA_Node* pItems, const WideString& wsText, |