summaryrefslogtreecommitdiff
path: root/fpdfsdk/pwl/cpwl_edit.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-08-16 22:22:47 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-08-16 22:22:47 +0000
commit136342d950c91cb1266b2a200e9dee5ade99535b (patch)
tree66fbfdc12c67b6e19c4486ca0bbdc62ecf3e7424 /fpdfsdk/pwl/cpwl_edit.cpp
parent213503e6eed2a53ff3fa2f343fbe948ccf0f1064 (diff)
downloadpdfium-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/pwl/cpwl_edit.cpp')
-rw-r--r--fpdfsdk/pwl/cpwl_edit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/pwl/cpwl_edit.cpp b/fpdfsdk/pwl/cpwl_edit.cpp
index 5e28a4aa02..c4ff2f4bd4 100644
--- a/fpdfsdk/pwl/cpwl_edit.cpp
+++ b/fpdfsdk/pwl/cpwl_edit.cpp
@@ -80,8 +80,8 @@ CFX_FloatRect CPWL_Edit::GetClientRect() const {
return rcClient;
}
-void CPWL_Edit::SetAlignFormatV(PWL_EDIT_ALIGNFORMAT_V nFormat, bool bPaint) {
- m_pEdit->SetAlignmentV((int32_t)nFormat, bPaint);
+void CPWL_Edit::SetAlignFormatVerticalCenter() {
+ m_pEdit->SetAlignmentV(static_cast<int32_t>(PEAV_CENTER), true);
}
bool CPWL_Edit::CanSelectAll() const {