summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_pushbutton.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-12-15 13:43:29 -0800
committerCommit bot <commit-bot@chromium.org>2016-12-15 13:43:29 -0800
commitd92477068ad0918c97a5dab799d8cfdf07ce3580 (patch)
tree207ab58fc62713e99c5810d31c3eb1afa34ecd21 /xfa/fwl/cfwl_pushbutton.cpp
parent791a0ccd25474d9306ad0df425575869caec3048 (diff)
downloadpdfium-d92477068ad0918c97a5dab799d8cfdf07ce3580.tar.xz
Remove more unused widget styles
Remove more FWL Widget Styles which are never set. Review-Url: https://codereview.chromium.org/2578473003
Diffstat (limited to 'xfa/fwl/cfwl_pushbutton.cpp')
-rw-r--r--xfa/fwl/cfwl_pushbutton.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/xfa/fwl/cfwl_pushbutton.cpp b/xfa/fwl/cfwl_pushbutton.cpp
index 670e5236d9..6f107c3f9e 100644
--- a/xfa/fwl/cfwl_pushbutton.cpp
+++ b/xfa/fwl/cfwl_pushbutton.cpp
@@ -107,8 +107,6 @@ uint32_t CFWL_PushButton::GetPartStates() {
void CFWL_PushButton::UpdateTextOutStyles() {
m_iTTOAlign = FDE_TTOALIGNMENT_TopLeft;
m_dwTTOStyles = FDE_TTOSTYLE_SingleLine;
- if (m_pProperties->m_dwStyleExes & FWL_WGTSTYLE_RTLReading)
- m_dwTTOStyles |= FDE_TTOSTYLE_RTL;
}
void CFWL_PushButton::OnProcessMessage(CFWL_Message* pMessage) {