| Index: xfa/fxfa/app/xfa_ffwidgetacc.cpp
|
| diff --git a/xfa/fxfa/app/xfa_ffwidgetacc.cpp b/xfa/fxfa/app/xfa_ffwidgetacc.cpp
|
| index 08c52de79aa4ffc166381a65302ab1136884c06c..2c84a7f9b7489cda85cdfcf9046d8167158f725f 100644
|
| --- a/xfa/fxfa/app/xfa_ffwidgetacc.cpp
|
| +++ b/xfa/fxfa/app/xfa_ffwidgetacc.cpp
|
| @@ -713,7 +713,7 @@ CXFA_FFWidget* CXFA_WidgetAcc::GetNextWidget(CXFA_FFWidget* pWidget) {
|
| }
|
| void CXFA_WidgetAcc::UpdateUIDisplay(CXFA_FFWidget* pExcept) {
|
| CXFA_FFWidget* pWidget = NULL;
|
| - while ((pWidget = GetNextWidget(pWidget))) {
|
| + while ((pWidget = GetNextWidget(pWidget)) != nullptr) {
|
| if (pWidget == pExcept || !pWidget->IsLoaded() ||
|
| (GetUIType() != XFA_ELEMENT_CheckButton && pWidget->IsFocused())) {
|
| continue;
|
|
|