diff options
author | Andre Fischer <af@apache.org> | 2012-08-30 07:28:53 +0000 |
---|---|---|
committer | Xisco Fauli <anistenis@gmail.com> | 2013-03-25 00:41:04 +0100 |
commit | 2a4161f7098b9bcb76eadbc82212038bbaebed2b (patch) | |
tree | d085770ee3fb6283e7cb55e7065588bb565180b8 /writerfilter | |
parent | 40ca6b3a9f805e4a1c12a9ed2c487282fff1c08b (diff) |
#i119592# Fixed column widths.
Reported by: xiao ting xiao
Patch by: wujinlong@...
Reviewed by: Andre Fischer
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/dmapper/PropertyMap.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/PropertyMap.cxx b/writerfilter/source/dmapper/PropertyMap.cxx index 8f19057bc6f1..9e22551ff686 100644 --- a/writerfilter/source/dmapper/PropertyMap.cxx +++ b/writerfilter/source/dmapper/PropertyMap.cxx @@ -543,7 +543,7 @@ uno::Reference< text::XTextColumns > SectionPropertyMap::ApplyColumnProperties( uno::Reference< beans::XPropertySet > xColumnPropSet( xColumns, uno::UNO_QUERY_THROW ); if( !m_bEvenlySpaced && (sal_Int32(m_aColWidth.size()) == (m_nColumnCount + 1 )) && - (sal_Int32(m_aColDistance.size()) == m_nColumnCount)) + ((sal_Int32(m_aColDistance.size()) == m_nColumnCount) || (sal_Int32(m_aColDistance.size()) == m_nColumnCount + 1)) ) { //the column width in word is an absolute value, in OOo it's relative //the distances are both absolute |