From 1c23a6d78c95ff0714cda6f642420e0502edac29 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 12 Apr 2018 15:37:39 +0000 Subject: Make CFX_Font take FX_RECT out params by pointer. Change-Id: I6643aaf66bf3e9d53d5afab5c99a5cb7deab3661 Reviewed-on: https://pdfium-review.googlesource.com/30054 Reviewed-by: dsinclair Commit-Queue: Lei Zhang --- fpdfsdk/fpdf_edittext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpdfsdk') diff --git a/fpdfsdk/fpdf_edittext.cpp b/fpdfsdk/fpdf_edittext.cpp index 8155003a1f..eba5b554c3 100644 --- a/fpdfsdk/fpdf_edittext.cpp +++ b/fpdfsdk/fpdf_edittext.cpp @@ -53,7 +53,7 @@ CPDF_Dictionary* LoadFontDesc(CPDF_Document* pDoc, pFontDesc->SetNewFor("Flags", flags); FX_RECT bbox; - pFont->GetBBox(bbox); + pFont->GetBBox(&bbox); pFontDesc->SetRectFor("FontBBox", CFX_FloatRect(bbox)); // TODO(npm): calculate italic angle correctly -- cgit v1.2.3