diff options
Diffstat (limited to 'fpdfsdk/cpdfsdk_xfawidgethandler.cpp')
-rw-r--r-- | fpdfsdk/cpdfsdk_xfawidgethandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/cpdfsdk_xfawidgethandler.cpp b/fpdfsdk/cpdfsdk_xfawidgethandler.cpp index 2fca3b3c60..7eb56570c3 100644 --- a/fpdfsdk/cpdfsdk_xfawidgethandler.cpp +++ b/fpdfsdk/cpdfsdk_xfawidgethandler.cpp @@ -85,7 +85,7 @@ CFX_FloatRect CPDFSDK_XFAWidgetHandler::GetViewBBox(CPDFSDK_PageView* pPageView, ASSERT(node->IsWidgetReady()); CFX_RectF rcBBox; - if (node->GetUIType() == XFA_Element::Signature) + if (node->GetFFWidgetType() == XFA_FFWidgetType::kSignature) rcBBox = pAnnot->GetXFAWidget()->GetBBox(XFA_WidgetStatus_Visible, true); else rcBBox = pAnnot->GetXFAWidget()->GetBBox(XFA_WidgetStatus_None); |