summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/textparagraphpropertiescontext.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/oox/source/drawingml/textparagraphpropertiescontext.cxx b/oox/source/drawingml/textparagraphpropertiescontext.cxx
index 9d06ae161071..d3c91cda3c5e 100644
--- a/oox/source/drawingml/textparagraphpropertiescontext.cxx
+++ b/oox/source/drawingml/textparagraphpropertiescontext.cxx
@@ -64,12 +64,7 @@ TextParagraphPropertiesContext::TextParagraphPropertiesContext( ContextHandler&
PropertyMap& rPropertyMap( mrTextParagraphProperties.getTextParagraphPropertyMap() );
// ST_TextAlignType
- if ( xAttribs->hasAttribute( XML_algn ) )
- {
- sal_Int32 nAlign = xAttribs->getOptionalValueToken( XML_algn, XML_l );
- rPropertyMap[ PROP_ParaAdjust ] <<= GetParaAdjust( nAlign );
- }
-// OSL_TRACE( "OOX: para adjust %d", GetParaAdjust( nAlign ));
+ rPropertyMap[ PROP_ParaAdjust ] <<= GetParaAdjust( xAttribs->getOptionalValueToken( XML_algn, XML_l ) );
// TODO see to do the same with RubyAdjust
// ST_Coordinate32