sd/source/ui/view/drtxtob1.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 909d745baf9a5d071892d8c04874ff279a9a477e Author: Gokul <gswaminat...@kacst.edu.sa> Date: Wed Feb 20 14:54:44 2013 +0300 Fix for fdo#58919 now the cursor/alignment is Right for RTL Table When RTL is clicked why to check if it is Left, The problem might arise when svxAdjust is Center, So its better to check if it is Right instead of checking only Left, same for Left also. Change-Id: Iddd808972b724e9a2eebc070bdff793632342a21 Reviewed-on: https://gerrit.libreoffice.org/2290 Reviewed-by: Fridrich Strba <fridr...@documentfoundation.org> Tested-by: Fridrich Strba <fridr...@documentfoundation.org> diff --git a/sd/source/ui/view/drtxtob1.cxx b/sd/source/ui/view/drtxtob1.cxx index 4163ff1..7d93cb2 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_RIGHT ) + if( nAdjust != SVX_ADJUST_LEFT ) aNewAttr.Put( SvxAdjustItem( SVX_ADJUST_LEFT, EE_PARA_JUST ) ); } else { aNewAttr.Put( SvxFrameDirectionItem( FRMDIR_HORI_RIGHT_TOP, EE_PARA_WRITINGDIR ) ); - if( nAdjust == SVX_ADJUST_LEFT ) + if( nAdjust != SVX_ADJUST_RIGHT ) 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