From a8b0407fef14cd89e3eb571c88ce3cb9edf70149 Mon Sep 17 00:00:00 2001 From: Muthu Subramanian Date: Tue, 15 Nov 2011 21:13:18 +0530 Subject: n#592912 and n#621744: Text Alignment fixes. --- oox/source/drawingml/textbodypropertiescontext.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- cgit