Index: fpdfsdk/fsdk_annothandler.cpp |
diff --git a/fpdfsdk/fsdk_annothandler.cpp b/fpdfsdk/fsdk_annothandler.cpp |
index b4942fdace06831abfbabd7ac0c798811ba8acb9..2185562668b6f42b404e01f7d95a7fdb8aafa687 100644 |
--- a/fpdfsdk/fsdk_annothandler.cpp |
+++ b/fpdfsdk/fsdk_annothandler.cpp |
@@ -853,8 +853,8 @@ CFX_FloatRect CPDFSDK_XFAAnnotHandler::GetViewBBox(CPDFSDK_PageView* pPageView, |
ASSERT(pAnnot); |
CFX_RectF rcBBox; |
- XFA_ELEMENT eType = pAnnot->GetXFAWidget()->GetDataAcc()->GetUIType(); |
- if (eType == XFA_ELEMENT_Signature) |
+ XFA_Element eType = pAnnot->GetXFAWidget()->GetDataAcc()->GetUIType(); |
+ if (eType == XFA_Element::Signature) |
pAnnot->GetXFAWidget()->GetBBox(rcBBox, XFA_WidgetStatus_Visible, TRUE); |
else |
pAnnot->GetXFAWidget()->GetBBox(rcBBox, XFA_WidgetStatus_None); |