summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMuthu Subramanian <sumuthu@suse.com>2012-01-03 18:07:24 +0530
committerMuthu Subramanian <sumuthu@suse.com>2012-01-03 18:07:24 +0530
commit82e385c7e0b466cd1106e19cdbb6dc15b2464811 (patch)
tree696fd20215f7a55e141a7b5a824a945fe8d7c201 /oox
parent3ef7293919e417c2fb2fce414fb64b1f5b4c244b (diff)
n734734: Line Spacing is used from previous values.
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/textparagraphpropertiescontext.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/oox/source/drawingml/textparagraphpropertiescontext.cxx b/oox/source/drawingml/textparagraphpropertiescontext.cxx
index 2164bf2ee11e..9d06ae161071 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 )