sd/source/ui/view/drtxtob1.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c60c9d7de6f3cb89fc7e582d0ca173985ccc1a8a
Author: Lior Kaplan <kaplanl...@gmail.com>
Date:   Wed Mar 13 18:56:12 2013 +0200

    Revert "Fix for fdo#58919 now the cursor/alignment is Right for RTL Table"
    
    This reverts commit 909d745baf9a5d071892d8c04874ff279a9a477e.

diff --git a/sd/source/ui/view/drtxtob1.cxx b/sd/source/ui/view/drtxtob1.cxx
index 7d93cb2..4163ff1 100644
--- a/sd/source/ui/view/drtxtob1.cxx
+++ b/sd/source/ui/view/drtxtob1.cxx
@@ -526,13 +526,13 @@ void TextObjectBar::Execute( SfxRequest &rReq )
                 if( bLeftToRight )
                 {
                     aNewAttr.Put( SvxFrameDirectionItem( FRMDIR_HORI_LEFT_TOP, 
EE_PARA_WRITINGDIR ) );
-                    if( nAdjust != SVX_ADJUST_LEFT )
+                    if( nAdjust == SVX_ADJUST_RIGHT )
                         aNewAttr.Put( SvxAdjustItem( SVX_ADJUST_LEFT, 
EE_PARA_JUST ) );
                 }
                 else
                 {
                     aNewAttr.Put( SvxFrameDirectionItem( 
FRMDIR_HORI_RIGHT_TOP, EE_PARA_WRITINGDIR ) );
-                    if( nAdjust != SVX_ADJUST_RIGHT )
+                    if( nAdjust == SVX_ADJUST_LEFT )
                         aNewAttr.Put( SvxAdjustItem( SVX_ADJUST_RIGHT, 
EE_PARA_JUST ) );
                 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to