Index: xfa/fxfa/app/xfa_fftextedit.cpp |
diff --git a/xfa/fxfa/app/xfa_fftextedit.cpp b/xfa/fxfa/app/xfa_fftextedit.cpp |
index 085ec07d9fc8014c0943606ea2474c1a442bcd1c..fa530169e0dde1a650e34ca4dc61283f4b4f5081 100644 |
--- a/xfa/fxfa/app/xfa_fftextedit.cpp |
+++ b/xfa/fxfa/app/xfa_fftextedit.cpp |
@@ -420,13 +420,13 @@ FWL_ERR CXFA_FFTextEdit::OnProcessEvent(CFWL_Event* pEvent) { |
case FWL_EVTHASH_EDT_CheckWord: { |
CFX_WideString wstr(L"FWL_EVENT_DTP_SelectChanged"); |
CFWL_EvtEdtCheckWord* event = (CFWL_EvtEdtCheckWord*)pEvent; |
- event->bCheckWord = CheckWord(event->bsWord); |
+ event->bCheckWord = CheckWord(event->bsWord.AsByteStringC()); |
break; |
} |
case FWL_EVTHASH_EDT_GetSuggestWords: { |
CFWL_EvtEdtGetSuggestWords* event = (CFWL_EvtEdtGetSuggestWords*)pEvent; |
- event->bSuggestWords = |
- GetSuggestWords(event->bsWord, event->bsArraySuggestWords); |
+ event->bSuggestWords = GetSuggestWords(event->bsWord.AsByteStringC(), |
+ event->bsArraySuggestWords); |
break; |
} |
default: {} |