diff options
author | Muthu Subramanian <sumuthu@suse.com> | 2012-01-03 18:07:24 +0530 |
---|---|---|
committer | Muthu Subramanian <sumuthu@suse.com> | 2012-01-03 17:47:25 +0530 |
commit | b90236d3a516d8b7236ffc10a4ae5b26ac127a53 (patch) | |
tree | a54e53fb4aeded2e2b9cc0f22342d3fe52af72a7 /oox | |
parent | 99fccadd08d41e8a4abcc062d075886d4a0910be (diff) |
n734734: Line Spacing is used from previous values.
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/textparagraphpropertiescontext.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/oox/source/drawingml/textparagraphpropertiescontext.cxx b/oox/source/drawingml/textparagraphpropertiescontext.cxx index 0bee2766e673..d0d1f0850e0a 100644 --- a/oox/source/drawingml/textparagraphpropertiescontext.cxx +++ b/oox/source/drawingml/textparagraphpropertiescontext.cxx @@ -148,6 +148,9 @@ TextParagraphPropertiesContext::~TextParagraphPropertiesContext() PropertyMap& rPropertyMap( mrTextParagraphProperties.getTextParagraphPropertyMap() ); if ( maLineSpacing.bHasValue ) rPropertyMap[ PROP_ParaLineSpacing ] <<= maLineSpacing.toLineSpacing(); + else + rPropertyMap[ PROP_ParaLineSpacing ] <<= ::com::sun::star::style::LineSpacing( ::com::sun::star::style::LineSpacingMode::PROP, 100 ); + ::std::list< TabStop >::size_type nTabCount = maTabList.size(); if( nTabCount != 0 ) |