diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-04-24 09:45:54 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-04-24 14:01:51 +0000 |
commit | 67b2a358814beb7135552219cceca8c9b3f137a1 (patch) | |
tree | 887ddf983c91bc9284de5f2a1bf75cb727da0639 /xfa/fxfa/app/xfa_fftextedit.cpp | |
parent | 25694831670ef6172b1b9b71359a6c192e26da20 (diff) | |
download | pdfium-67b2a358814beb7135552219cceca8c9b3f137a1.tar.xz |
Cleanup the XFA Bacode widget
This Cl cleans up the XFA barcode widget. The custom binary search is
removed. Some code shuffled from the header to the cpp file. Nits fixed.
Change-Id: Icad0d2b25b07ea36afc5a5922a79f55b82616486
Reviewed-on: https://pdfium-review.googlesource.com/4394
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/app/xfa_fftextedit.cpp')
-rw-r--r-- | xfa/fxfa/app/xfa_fftextedit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/app/xfa_fftextedit.cpp b/xfa/fxfa/app/xfa_fftextedit.cpp index ccb52d36a6..03f09cc11a 100644 --- a/xfa/fxfa/app/xfa_fftextedit.cpp +++ b/xfa/fxfa/app/xfa_fftextedit.cpp @@ -269,7 +269,7 @@ bool CXFA_FFTextEdit::UpdateFWLData() { if (m_pDataAcc->GetUIType() == XFA_Element::Barcode) { int32_t nDataLen = 0; if (eType == XFA_VALUEPICTURE_Edit) - m_pDataAcc->GetBarcodeAttribute_DataLength(nDataLen); + m_pDataAcc->GetBarcodeAttribute_DataLength(&nDataLen); static_cast<CFWL_Edit*>(m_pNormalWidget.get())->SetLimit(nDataLen); bUpdate = true; } |