[PATCH] fix fdo#62143: set TEXT_LAYOUT_BIDI_STRONG flag.

navin patidar (via Code Review) gerrit at gerrit.libreoffice.org
Mon Mar 11 05:29:08 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2664

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/64/2664/1

fix fdo#62143: set TEXT_LAYOUT_BIDI_STRONG flag.

Change-Id: I19ed1874ff73c3a8002934fa3456d718e383c5d6
---
M editeng/source/outliner/outliner.cxx
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx
index adf0d08..dbb62b9 100644
--- a/editeng/source/outliner/outliner.cxx
+++ b/editeng/source/outliner/outliner.cxx
@@ -980,7 +980,7 @@
                 sal_uLong nLayoutMode = pOutDev->GetLayoutMode();
                 nLayoutMode &= ~(TEXT_LAYOUT_BIDI_RTL|TEXT_LAYOUT_COMPLEX_DISABLED|TEXT_LAYOUT_BIDI_STRONG);
                 if ( bRightToLeftPara )
-                    nLayoutMode |= TEXT_LAYOUT_BIDI_RTL | TEXT_LAYOUT_TEXTORIGIN_LEFT;
+                    nLayoutMode |= TEXT_LAYOUT_BIDI_RTL | TEXT_LAYOUT_TEXTORIGIN_LEFT | TEXT_LAYOUT_BIDI_STRONG;
                 pOutDev->SetLayoutMode( nLayoutMode );
 
                 if(bStrippingPortions)

-- 
To view, visit https://gerrit.libreoffice.org/2664
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I19ed1874ff73c3a8002934fa3456d718e383c5d6
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: navin patidar <patidar at kacst.edu.sa>



More information about the LibreOffice mailing list