diff options
Diffstat (limited to 'xfa/fxfa/cxfa_ffarc.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_ffarc.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/xfa/fxfa/cxfa_ffarc.cpp b/xfa/fxfa/cxfa_ffarc.cpp index 12ab629d87..7f9e938925 100644 --- a/xfa/fxfa/cxfa_ffarc.cpp +++ b/xfa/fxfa/cxfa_ffarc.cpp @@ -6,6 +6,8 @@ #include "xfa/fxfa/cxfa_ffarc.h" +#include "xfa/fxfa/parser/cxfa_value.h" + CXFA_FFArc::CXFA_FFArc(CXFA_WidgetAcc* pDataAcc) : CXFA_FFDraw(pDataAcc) {} CXFA_FFArc::~CXFA_FFArc() {} @@ -16,8 +18,8 @@ void CXFA_FFArc::RenderWidget(CXFA_Graphics* pGS, if (!IsMatchVisibleStatus(dwStatus)) return; - CXFA_ValueData valueData = m_pDataAcc->GetFormValueData(); - if (!valueData.HasValidNode()) + CXFA_Value* value = m_pDataAcc->GetFormValue(); + if (!value) return; CFX_RectF rtArc = GetRectWithoutRotate(); @@ -28,5 +30,5 @@ void CXFA_FFArc::RenderWidget(CXFA_Graphics* pGS, CFX_Matrix mtRotate = GetRotateMatrix(); mtRotate.Concat(matrix); - DrawBorder(pGS, valueData.GetArcData(), rtArc, mtRotate); + DrawBorder(pGS, value->GetArcData(), rtArc, mtRotate); } |