[Libreoffice-commits] core.git: editeng/source

navin patidar patidar at kacst.edu.sa
Mon Mar 11 07:34:49 PDT 2013


 editeng/source/outliner/outliner.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 68c3dfc3119a50ee9c9c6d65f4c656637152bbad
Author: navin patidar <patidar at kacst.edu.sa>
Date:   Mon Mar 11 09:06:45 2013 +0300

    fix fdo#62143: set TEXT_LAYOUT_BIDI_STRONG flag.
    
    Change-Id: I19ed1874ff73c3a8002934fa3456d718e383c5d6
    Reviewed-on: https://gerrit.libreoffice.org/2664
    Reviewed-by: Fridrich Strba <fridrich at documentfoundation.org>
    Tested-by: Fridrich Strba <fridrich at documentfoundation.org>

diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx
index 259e5d4..3976d1b 100644
--- a/editeng/source/outliner/outliner.cxx
+++ b/editeng/source/outliner/outliner.cxx
@@ -980,7 +980,7 @@ void Outliner::PaintBullet( sal_uInt16 nPara, const Point& rStartPos,
                 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)


More information about the Libreoffice-commits mailing list