Index: fpdfsdk/src/formfiller/FFL_TextField.cpp |
diff --git a/fpdfsdk/src/formfiller/FFL_TextField.cpp b/fpdfsdk/src/formfiller/FFL_TextField.cpp |
index ca4e07be4db2ad9018a7a0d4be96efe2cea239d7..42f2aad48f526c9f0d7116b2586a461b564bd697 100644 |
--- a/fpdfsdk/src/formfiller/FFL_TextField.cpp |
+++ b/fpdfsdk/src/formfiller/FFL_TextField.cpp |
@@ -112,7 +112,7 @@ FX_BOOL CFFL_TextField::OnChar(CPDFSDK_Annot* pAnnot, |
CPDFSDK_PageView* pPageView = GetCurPageView(); |
ASSERT(pPageView); |
m_bValid = !m_bValid; |
- CPDF_Rect rcAnnot = pAnnot->GetRect(); |
+ CFX_FloatRect rcAnnot = pAnnot->GetRect(); |
m_pApp->FFI_Invalidate(pAnnot->GetUnderlyingPage(), rcAnnot.left, |
rcAnnot.top, rcAnnot.right, rcAnnot.bottom); |