[Libreoffice-commits] .: oox/source
Radek DoulÃk
rodo at kemper.freedesktop.org
Tue May 24 08:35:27 PDT 2011
oox/source/export/shapes.cxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 0186b57a09a9113464684c60525126eb43bfcbeb
Author: Radek Doulik <rodo at novell.com>
Date: Tue May 24 17:34:48 2011 +0200
fix row height export
diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx
index ff030f8..534a6d7 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 );
More information about the Libreoffice-commits
mailing list