From d92477068ad0918c97a5dab799d8cfdf07ce3580 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Thu, 15 Dec 2016 13:43:29 -0800 Subject: Remove more unused widget styles Remove more FWL Widget Styles which are never set. Review-Url: https://codereview.chromium.org/2578473003 --- xfa/fde/tto/fde_textout.cpp | 3 --- xfa/fde/tto/fde_textout.h | 1 - 2 files changed, 4 deletions(-) (limited to 'xfa/fde/tto') 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 -- cgit v1.2.3