Index: fpdfsdk/formfiller/cffl_textfield.cpp |
diff --git a/fpdfsdk/formfiller/cffl_textfield.cpp b/fpdfsdk/formfiller/cffl_textfield.cpp |
index b80bbe4e172132530ede851e73aaa46ea0c754db..611da7438a5d39eb29bcaffd695720731a861071 100644 |
--- a/fpdfsdk/formfiller/cffl_textfield.cpp |
+++ b/fpdfsdk/formfiller/cffl_textfield.cpp |
@@ -278,7 +278,6 @@ void CFFL_TextField::OnSetFocus(CPWL_Wnd* pWnd) { |
int nCharacters = wsText.GetLength(); |
CFX_ByteString bsUTFText = wsText.UTF16LE_Encode(); |
unsigned short* pBuffer = (unsigned short*)bsUTFText.c_str(); |
- m_pEnv->OnSetFieldInputFocus(m_pWidget->GetFormField(), pBuffer, |
- nCharacters, TRUE); |
+ m_pEnv->OnSetFieldInputFocus(pBuffer, nCharacters, TRUE); |
} |
} |