Index: xfa/fwl/cfwl_checkbox.cpp |
diff --git a/xfa/fwl/cfwl_checkbox.cpp b/xfa/fwl/cfwl_checkbox.cpp |
index 5d40d8f4255d373854ccebe4192f26dbbe7934b8..0d2ab73399900736dab8e4b899ad4218a433402f 100644 |
--- a/xfa/fwl/cfwl_checkbox.cpp |
+++ b/xfa/fwl/cfwl_checkbox.cpp |
@@ -192,6 +192,8 @@ void CFWL_CheckBox::NextStates() { |
CFWL_CheckBox* pCheckBox = nullptr; |
int32_t iCount = radioarr.GetSize(); |
for (int32_t i = 0; i < iCount; i++) { |
+ // TODO(dsinclair): This is a bug as radioarr will only ever have |
+ // a nullptr set into it.... |
pCheckBox = static_cast<CFWL_CheckBox*>(radioarr[i]); |
if (pCheckBox != this && |
pCheckBox->GetStates() & FWL_STATE_CKB_Checked) { |