diff options
author | Jan Holesovsky <kendy@collabora.com> | 2013-10-09 07:56:22 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2013-10-09 14:39:35 +0200 |
commit | b7e0d49dcd757fde9a634246a6b3ce46d6f75e79 (patch) | |
tree | 8ddbf4010e3daff9a128909c75798e7ee0f7eb63 /sw/source/filter | |
parent | d567671196fccf20a350f3cbf210eef088fa7ce3 (diff) |
Improve readability.
Change-Id: I7527acd4b99b3b2a911532adb85b2a082c6569b7
Diffstat (limited to 'sw/source/filter')
-rw-r--r-- | sw/source/filter/ww8/docxattributeoutput.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 369d167b7a0b..6aba872731eb 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -5149,10 +5149,12 @@ void DocxAttributeOutput::ParaAdjust( const SvxAdjustItem& rAdjust ) { case SVX_ADJUST_LEFT: if ( bEcma ) + { if ( bRtl ) pAdjustString = "right"; else pAdjustString = "left"; + } else if ( bRtl ) pAdjustString = "end"; else @@ -5160,10 +5162,12 @@ void DocxAttributeOutput::ParaAdjust( const SvxAdjustItem& rAdjust ) break; case SVX_ADJUST_RIGHT: if ( bEcma ) + { if ( bRtl ) pAdjustString = "left"; else pAdjustString = "right"; + } else if ( bRtl ) pAdjustString = "start"; else |