| Index: fpdfsdk/fxedit/fxet_list.cpp
|
| diff --git a/fpdfsdk/fxedit/fxet_list.cpp b/fpdfsdk/fxedit/fxet_list.cpp
|
| index 639569898e0b6eccd3555554a6c507bdf7a4e5e4..383b84f27fa94a7f140c80ce4fe3089cc92b392f 100644
|
| --- a/fpdfsdk/fxedit/fxet_list.cpp
|
| +++ b/fpdfsdk/fxedit/fxet_list.cpp
|
| @@ -63,12 +63,9 @@ FX_FLOAT CFX_ListItem::GetItemHeight() const {
|
|
|
| uint16_t CFX_ListItem::GetFirstChar() const {
|
| CPVT_Word word;
|
| -
|
| - if (IFX_Edit_Iterator* pIterator = GetIterator()) {
|
| - pIterator->SetAt(1);
|
| - pIterator->GetWord(word);
|
| - }
|
| -
|
| + IFX_Edit_Iterator* pIterator = GetIterator();
|
| + pIterator->SetAt(1);
|
| + pIterator->GetWord(word);
|
| return word.Word;
|
| }
|
|
|
|
|