summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMuthu Subramanian <sumuthu@suse.com>2011-11-15 21:13:18 +0530
committerMuthu Subramanian <sumuthu@suse.com>2011-11-15 21:13:18 +0530
commita8b0407fef14cd89e3eb571c88ce3cb9edf70149 (patch)
tree9c409709fceabb9ded27fbf46f3c794b89a7a24c /oox
parentfeed4386a664feed09daff81b50e45889651f559 (diff)
n#592912 and n#621744: Text Alignment fixes.
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/textbodypropertiescontext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/textbodypropertiescontext.cxx b/oox/source/drawingml/textbodypropertiescontext.cxx
index 083cccfd4a05..3c77a35309f0 100644
--- a/oox/source/drawingml/textbodypropertiescontext.cxx
+++ b/oox/source/drawingml/textbodypropertiescontext.cxx
@@ -152,7 +152,7 @@ TextBodyPropertiesContext::TextBodyPropertiesContext( ContextHandler& rParent,
mrTextBodyProp.maPropertyMap[ PROP_TextHorizontalAdjust ] <<=
TextHorizontalAdjust_RIGHT;
}
- else
+ else if( mrTextBodyProp.moVert.get( XML_horz ) == XML_horz )
mrTextBodyProp.maPropertyMap[ PROP_TextVerticalAdjust ] <<= eVA;
}
}