diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-08-16 22:22:47 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-16 22:22:47 +0000 |
commit | 136342d950c91cb1266b2a200e9dee5ade99535b (patch) | |
tree | 66fbfdc12c67b6e19c4486ca0bbdc62ecf3e7424 /fpdfsdk/formfiller | |
parent | 213503e6eed2a53ff3fa2f343fbe948ccf0f1064 (diff) | |
download | pdfium-136342d950c91cb1266b2a200e9dee5ade99535b.tar.xz |
Remove arguments from CPWL_Edit::SetAlignFormatV().chromium/3525
There's only one caller. Rename to match its new behaviour.
Change-Id: I2d5ac2017316fdf6e9533fe506f2dab14205043a
Reviewed-on: https://pdfium-review.googlesource.com/40410
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/formfiller')
-rw-r--r-- | fpdfsdk/formfiller/cffl_textfield.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/formfiller/cffl_textfield.cpp b/fpdfsdk/formfiller/cffl_textfield.cpp index 7293d426bc..8c261f8f36 100644 --- a/fpdfsdk/formfiller/cffl_textfield.cpp +++ b/fpdfsdk/formfiller/cffl_textfield.cpp @@ -79,7 +79,7 @@ CPWL_Wnd* CFFL_TextField::NewPDFWindow(const CPWL_Wnd::CreateParams& cp) { if (nMaxLen > 0) { if (pWnd->HasFlag(PES_CHARARRAY)) { pWnd->SetCharArray(nMaxLen); - pWnd->SetAlignFormatV(PEAV_CENTER); + pWnd->SetAlignFormatVerticalCenter(); } else { pWnd->SetLimitChar(nMaxLen); } |