diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2018-05-01 21:10:54 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-05-01 21:10:54 +0000 |
commit | 022031d2ae75e649dd6a567c98928d8a00853823 (patch) | |
tree | 2a22dccd643fca6c14f28bf18d680bc45db4365b /xfa/fxfa/parser/cxfa_node.h | |
parent | 0b0b0b32bc2b03f09b7156b855c626a44703f9c4 (diff) | |
download | pdfium-022031d2ae75e649dd6a567c98928d8a00853823.tar.xz |
Transform size out param from reference to pointer in CXFA_Node.
Change-Id: I3ed6cbadeb9da756b30634b48ffdd1026a70b8a0
Reviewed-on: https://pdfium-review.googlesource.com/31853
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 | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/xfa/fxfa/parser/cxfa_node.h b/xfa/fxfa/parser/cxfa_node.h index cca03ee401..0762aa6d77 100644 --- a/xfa/fxfa/parser/cxfa_node.h +++ b/xfa/fxfa/parser/cxfa_node.h @@ -444,23 +444,23 @@ class CXFA_Node : public CXFA_Object { CXFA_Node* GetNextSameNameSiblingInternal( const WideStringView& wsNodeName) const; CXFA_Node* GetNextSameClassSiblingInternal(XFA_Element eType) const; - void CalcCaptionSize(CXFA_FFDoc* doc, CFX_SizeF& szCap); - bool CalculateFieldAutoSize(CXFA_FFDoc* doc, CFX_SizeF& size); - bool CalculateWidgetAutoSize(CFX_SizeF& size); - bool CalculateTextEditAutoSize(CXFA_FFDoc* doc, CFX_SizeF& size); - bool CalculateCheckButtonAutoSize(CXFA_FFDoc* doc, CFX_SizeF& size); - bool CalculatePushButtonAutoSize(CXFA_FFDoc* doc, CFX_SizeF& size); + void CalcCaptionSize(CXFA_FFDoc* doc, CFX_SizeF* pszCap); + bool CalculateFieldAutoSize(CXFA_FFDoc* doc, CFX_SizeF* pSize); + bool CalculateWidgetAutoSize(CFX_SizeF* pSize); + bool CalculateTextEditAutoSize(CXFA_FFDoc* doc, CFX_SizeF* pSize); + bool CalculateCheckButtonAutoSize(CXFA_FFDoc* doc, CFX_SizeF* pSize); + bool CalculatePushButtonAutoSize(CXFA_FFDoc* doc, CFX_SizeF* pSize); CFX_SizeF CalculateImageSize(float img_width, float img_height, float dpi_x, float dpi_y); - bool CalculateImageEditAutoSize(CXFA_FFDoc* doc, CFX_SizeF& size); - bool CalculateImageAutoSize(CXFA_FFDoc* doc, CFX_SizeF& size); + bool CalculateImageEditAutoSize(CXFA_FFDoc* doc, CFX_SizeF* pSize); + bool CalculateImageAutoSize(CXFA_FFDoc* doc, CFX_SizeF* pSize); float CalculateWidgetAutoHeight(float fHeightCalc); float CalculateWidgetAutoWidth(float fWidthCalc); float GetWidthWithoutMargin(float fWidthCalc); float GetHeightWithoutMargin(float fHeightCalc); - void CalculateTextContentSize(CXFA_FFDoc* doc, CFX_SizeF& size); + void CalculateTextContentSize(CXFA_FFDoc* doc, CFX_SizeF* pSize); void CalculateAccWidthAndHeight(CXFA_FFDoc* doc, float& fWidth, float& fCalcHeight); |