diff options
author | Radek Doulik <rodo@novell.com> | 2011-05-24 17:34:48 +0200 |
---|---|---|
committer | Radek Doulik <rodo@novell.com> | 2011-05-24 17:34:48 +0200 |
commit | c627044164ae386ea1a1bd3c530aacd32b4cef25 (patch) | |
tree | 64512f51f0b1d57eb7752d8c8e453b542f39867a /oox | |
parent | 3bf07c7ada58d2280360377fb8ba45b14969a909 (diff) |
fix row height export
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/shapes.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx index c2027a76d5a8..be720432624c 100644 --- a/oox/source/export/shapes.cxx +++ b/oox/source/export/shapes.cxx @@ -1006,7 +1006,9 @@ void ShapeExport::WriteTable( Reference< XShape > rXShape ) for( sal_Int32 nRow = 0; nRow < nRowCount; nRow++ ) { Reference< XPropertySet > xRowPropSet( xRows->getByIndex( nRow ), UNO_QUERY_THROW ); - sal_Int32 nRowHeight = xRowPropSet->getPropertyValue( S("Height") ) >>= nRowHeight; + sal_Int32 nRowHeight(0); + + xRowPropSet->getPropertyValue( S("Height") ) >>= nRowHeight; mpFS->startElementNS( XML_a, XML_tr, XML_h, I64S( MM100toEMU( nRowHeight ) ), FSEND ); |