summaryrefslogtreecommitdiff
path: root/xfa/fde/cfde_txtedtengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fde/cfde_txtedtengine.cpp')
-rw-r--r--xfa/fde/cfde_txtedtengine.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/xfa/fde/cfde_txtedtengine.cpp b/xfa/fde/cfde_txtedtengine.cpp
index 9d9fed5ab1..8fd521a66b 100644
--- a/xfa/fde/cfde_txtedtengine.cpp
+++ b/xfa/fde/cfde_txtedtengine.cpp
@@ -1006,20 +1006,11 @@ void CFDE_TxtEdtEngine::UpdateTxtBreak() {
else
dwStyle |= FX_TXTLAYOUTSTYLE_SingleLine;
- dwStyle &= ~FX_TXTLAYOUTSTYLE_VerticalLayout;
- dwStyle &= ~FX_TXTLAYOUTSTYLE_ReverseLine;
- dwStyle &= ~FX_TXTLAYOUTSTYLE_RTLReadingOrder;
-
if (m_Param.dwLayoutStyles & FDE_TEXTEDITLAYOUT_CombText)
dwStyle |= FX_TXTLAYOUTSTYLE_CombText;
else
dwStyle &= ~FX_TXTLAYOUTSTYLE_CombText;
- dwStyle &= ~FX_TXTLAYOUTSTYLE_VerticalChars;
- dwStyle &= ~FX_TXTLAYOUTSTYLE_ExpandTab;
- dwStyle &= ~FX_TXTLAYOUTSTYLE_ArabicContext;
- dwStyle &= ~FX_TXTLAYOUTSTYLE_ArabicShapes;
-
m_pTextBreak->SetLayoutStyles(dwStyle);
uint32_t dwAligment = 0;
if (m_Param.dwAlignment & FDE_TEXTEDITALIGN_Justified)