summaryrefslogtreecommitdiff
path: root/xfa/fde
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/fde
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/fde')
-rw-r--r--xfa/fde/tto/fde_textout.cpp3
-rw-r--r--xfa/fde/tto/fde_textout.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/xfa/fde/tto/fde_textout.cpp b/xfa/fde/tto/fde_textout.cpp
index d7155b7107..cf541a289c 100644
--- a/xfa/fde/tto/fde_textout.cpp
+++ b/xfa/fde/tto/fde_textout.cpp
@@ -74,9 +74,6 @@ void CFDE_TextOut::SetStyles(uint32_t dwStyles) {
if (dwStyles & FDE_TTOSTYLE_ArabicShapes) {
m_dwTxtBkStyles |= FX_TXTLAYOUTSTYLE_ArabicShapes;
}
- if (dwStyles & FDE_TTOSTYLE_RTL) {
- m_dwTxtBkStyles |= FX_TXTLAYOUTSTYLE_RTLReadingOrder;
- }
if (dwStyles & FDE_TTOSTYLE_ArabicContext) {
m_dwTxtBkStyles |= FX_TXTLAYOUTSTYLE_ArabicContext;
}
diff --git a/xfa/fde/tto/fde_textout.h b/xfa/fde/tto/fde_textout.h
index 7e40f39dc7..684a6411fa 100644
--- a/xfa/fde/tto/fde_textout.h
+++ b/xfa/fde/tto/fde_textout.h
@@ -26,7 +26,6 @@
#define FDE_TTOSTYLE_Ellipsis 0x0080
#define FDE_TTOSTYLE_LineWrap 0x0100
#define FDE_TTOSTYLE_ArabicShapes 0x0200
-#define FDE_TTOSTYLE_RTL 0x0400
#define FDE_TTOSTYLE_ArabicContext 0x0800
#define FDE_TTOSTYLE_LastLineHeight 0x1000
#define FDE_TTOALIGNMENT_TopLeft 0