summaryrefslogtreecommitdiff
path: root/fpdfsdk/formfiller/cffl_combobox.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-09-22 10:20:43 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-22 10:20:43 -0700
commit577ad2c9ea89c721ee1dbb89d1f7e12bb8c333f7 (patch)
tree7e298b611fd4bf07713c35d01c6bc9b900758191 /fpdfsdk/formfiller/cffl_combobox.cpp
parentbb577af2f17467a55c04fbff21a8f0ec1016601a (diff)
downloadpdfium-577ad2c9ea89c721ee1dbb89d1f7e12bb8c333f7.tar.xz
Move CPDFSDK_Environment code to cpp file
This CL moves the code from the .h file into the .cpp file. Review-Url: https://codereview.chromium.org/2354363003
Diffstat (limited to 'fpdfsdk/formfiller/cffl_combobox.cpp')
-rw-r--r--fpdfsdk/formfiller/cffl_combobox.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/fpdfsdk/formfiller/cffl_combobox.cpp b/fpdfsdk/formfiller/cffl_combobox.cpp
index aaddcf5fbc..8c0cb645c5 100644
--- a/fpdfsdk/formfiller/cffl_combobox.cpp
+++ b/fpdfsdk/formfiller/cffl_combobox.cpp
@@ -271,8 +271,7 @@ void CFFL_ComboBox::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);
}
}