Index: fpdfsdk/formfiller/cffl_iformfiller.cpp |
diff --git a/fpdfsdk/formfiller/cffl_iformfiller.cpp b/fpdfsdk/formfiller/cffl_iformfiller.cpp |
index 9e252cbd4127662d60b5139bafb1f6c6a90314b6..1f638444afcfff6b6d1a4f9a080c34219ae47872 100644 |
--- a/fpdfsdk/formfiller/cffl_iformfiller.cpp |
+++ b/fpdfsdk/formfiller/cffl_iformfiller.cpp |
@@ -45,10 +45,7 @@ FX_RECT CFFL_IFormFiller::GetViewBBox(CPDFSDK_PageView* pPageView, |
ASSERT(pPageView); |
CPDF_Annot* pPDFAnnot = pAnnot->GetPDFAnnot(); |
- CFX_FloatRect rcAnnot; |
- pPDFAnnot->GetRect(rcAnnot); |
- |
- CFX_FloatRect rcWin = CPWL_Utils::InflateRect(rcAnnot, 1); |
+ CFX_FloatRect rcWin = CPWL_Utils::InflateRect(pPDFAnnot->GetRect(), 1); |
return rcWin.GetOuterRect(); |
} |