summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorRadek Doulik <rodo@novell.com>2011-05-24 17:34:48 +0200
committerRadek Doulik <rodo@novell.com>2011-05-24 17:34:48 +0200
commitc627044164ae386ea1a1bd3c530aacd32b4cef25 (patch)
tree64512f51f0b1d57eb7752d8c8e453b542f39867a /oox
parent3bf07c7ada58d2280360377fb8ba45b14969a909 (diff)
fix row height export
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/shapes.cxx4
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 );