diff options
Diffstat (limited to 'fpdfsdk/pwl/cpwl_edit.cpp')
-rw-r--r-- | fpdfsdk/pwl/cpwl_edit.cpp | 4 |
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 { |