Index: xfa/fxfa/app/xfa_fftextedit.cpp |
diff --git a/xfa/fxfa/app/xfa_fftextedit.cpp b/xfa/fxfa/app/xfa_fftextedit.cpp |
index 6df4507e2202e6b07a73f8b2adcf017fb94e4108..89c56763fec15b7db6ff8969d1aeeda9d2459927 100644 |
--- a/xfa/fxfa/app/xfa_fftextedit.cpp |
+++ b/xfa/fxfa/app/xfa_fftextedit.cpp |
@@ -387,18 +387,17 @@ void CXFA_FFTextEdit::OnTextFull(IFWL_Widget* pWidget) { |
} |
FX_BOOL CXFA_FFTextEdit::CheckWord(const CFX_ByteStringC& sWord) { |
- if (sWord.IsEmpty() || m_pDataAcc->GetUIType() != XFA_Element::TextEdit) { |
+ if (sWord.IsEmpty() || m_pDataAcc->GetUIType() != XFA_Element::TextEdit) |
return TRUE; |
- } |
- return GetDoc()->GetDocProvider()->CheckWord(GetDoc(), sWord); |
Wei Li
2016/09/13 17:45:52
I am a bit concerned with changes like this. The u
dsinclair
2016/09/13 17:51:19
I guess the question is, do we know if we'll ever
Wei Li
2016/09/13 18:09:07
I am ok with removing unimplemented code. Should w
dsinclair
2016/09/13 18:12:12
Yea, they should be removed completely. If they're
|
+ return FALSE; |
} |
+ |
FX_BOOL CXFA_FFTextEdit::GetSuggestWords( |
const CFX_ByteStringC& sWord, |
std::vector<CFX_ByteString>& sSuggest) { |
- if (m_pDataAcc->GetUIType() != XFA_Element::TextEdit) { |
+ if (m_pDataAcc->GetUIType() != XFA_Element::TextEdit) |
return FALSE; |
- } |
- return GetDoc()->GetDocProvider()->GetSuggestWords(GetDoc(), sWord, sSuggest); |
+ return FALSE; |
} |
void CXFA_FFTextEdit::OnProcessMessage(CFWL_Message* pMessage) { |