| Index: xfa/fxfa/app/xfa_ffwidgethandler.cpp
|
| diff --git a/xfa/fxfa/app/xfa_ffwidgethandler.cpp b/xfa/fxfa/app/xfa_ffwidgethandler.cpp
|
| index 7d3da448bf311b9da3bcef1331dcfa85563b23b5..1c8e5f793b7027d3f583f9d6647196c5286c5eab 100644
|
| --- a/xfa/fxfa/app/xfa_ffwidgethandler.cpp
|
| +++ b/xfa/fxfa/app/xfa_ffwidgethandler.cpp
|
| @@ -46,8 +46,8 @@ FX_BOOL CXFA_FFWidgetHandler::OnLButtonDown(CXFA_FFWidget* hWidget,
|
| hWidget->Rotate2Normal(fx, fy);
|
| FX_BOOL bRet = hWidget->OnLButtonDown(dwFlags, fx, fy);
|
| if (bRet && m_pDocView->SetFocus(hWidget)) {
|
| - m_pDocView->GetDoc()->GetDocProvider()->SetFocusWidget(m_pDocView->GetDoc(),
|
| - hWidget);
|
| + m_pDocView->GetDoc()->GetDocEnvironment()->SetFocusWidget(
|
| + m_pDocView->GetDoc(), hWidget);
|
| }
|
| m_pDocView->UnlockUpdate();
|
| m_pDocView->UpdateDocView();
|
| @@ -105,8 +105,8 @@ FX_BOOL CXFA_FFWidgetHandler::OnRButtonDown(CXFA_FFWidget* hWidget,
|
| hWidget->Rotate2Normal(fx, fy);
|
| FX_BOOL bRet = hWidget->OnRButtonDown(dwFlags, fx, fy);
|
| if (bRet && m_pDocView->SetFocus(hWidget)) {
|
| - m_pDocView->GetDoc()->GetDocProvider()->SetFocusWidget(m_pDocView->GetDoc(),
|
| - hWidget);
|
| + m_pDocView->GetDoc()->GetDocEnvironment()->SetFocusWidget(
|
| + m_pDocView->GetDoc(), hWidget);
|
| }
|
| m_pDocView->RunInvalidate();
|
| return bRet;
|
| @@ -225,7 +225,7 @@ int32_t CXFA_FFWidgetHandler::ProcessEvent(CXFA_WidgetAcc* pWidgetAcc,
|
| case XFA_EVENT_Calculate:
|
| return pWidgetAcc->ProcessCalculate();
|
| case XFA_EVENT_Validate:
|
| - if (m_pDocView->GetDoc()->GetDocProvider()->IsValidationsEnabled(
|
| + if (m_pDocView->GetDoc()->GetDocEnvironment()->IsValidationsEnabled(
|
| m_pDocView->GetDoc())) {
|
| return pWidgetAcc->ProcessValidate();
|
| }
|
|
|