From 0b0b0b32bc2b03f09b7156b855c626a44703f9c4 Mon Sep 17 00:00:00 2001 From: Henrique Nakashima Date: Tue, 1 May 2018 21:00:44 +0000 Subject: Transform rect out param from reference to pointer in XFA code. Change-Id: Ib5f8b8754bca8198d9122700d7d876b45d1428da Reviewed-on: https://pdfium-review.googlesource.com/31852 Reviewed-by: Lei Zhang Commit-Queue: Henrique Nakashima --- xfa/fxfa/parser/cxfa_node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xfa/fxfa/parser') diff --git a/xfa/fxfa/parser/cxfa_node.cpp b/xfa/fxfa/parser/cxfa_node.cpp index 3399023037..884a7d089c 100644 --- a/xfa/fxfa/parser/cxfa_node.cpp +++ b/xfa/fxfa/parser/cxfa_node.cpp @@ -2837,7 +2837,7 @@ void CXFA_Node::CalculateTextContentSize(CXFA_FFDoc* doc, CFX_SizeF& size) { pTextOut->SetStyles(dwStyles); } - layoutData->m_pTextOut->CalcLogicSize(wsText, size); + layoutData->m_pTextOut->CalcLogicSize(wsText, &size); } bool CXFA_Node::CalculateTextEditAutoSize(CXFA_FFDoc* doc, CFX_SizeF& size) { -- cgit v1.2.3