summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLior Kaplan <kaplanlior@gmail.com>2013-03-13 18:56:12 +0200
committerLior Kaplan <kaplanlior@gmail.com>2013-03-13 18:59:24 +0200
commitc60c9d7de6f3cb89fc7e582d0ca173985ccc1a8a (patch)
tree1f003f0efd64718c6b69555220f4e8567517491a
parentc1ba64c2d90dfe73eece410a86f630a0032d0ffe (diff)
Revert "Fix for fdo#58919 now the cursor/alignment is Right for RTL Table"
-rw-r--r--sd/source/ui/view/drtxtob1.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/view/drtxtob1.cxx b/sd/source/ui/view/drtxtob1.cxx
index 7d93cb2b5b4d..4163ff1dcd02 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 ) );
}