summaryrefslogtreecommitdiff
path: root/svx/source/dialog/textattr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/dialog/textattr.cxx')
-rw-r--r--svx/source/dialog/textattr.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/dialog/textattr.cxx b/svx/source/dialog/textattr.cxx
index f8d54239d176..a7eb3069026a 100644
--- a/svx/source/dialog/textattr.cxx
+++ b/svx/source/dialog/textattr.cxx
@@ -500,10 +500,12 @@ BOOL SvxTextAttrPage::FillItemSet( SfxItemSet& rAttrs)
if(!bIsDisabled)
{
if( aTsbFullWidth.GetState() == STATE_CHECK )
+ {
if (IsTextDirectionLeftToRight())
eTHA = SDRTEXTHORZADJUST_BLOCK;
else
eTVA = SDRTEXTVERTADJUST_BLOCK;
+ }
if ( rOutAttrs.GetItemState( SDRATTR_TEXT_VERTADJUST ) != SFX_ITEM_DONTCARE )
{