[Libreoffice-commits] .: oox/source
Caolán McNamara
caolan at kemper.freedesktop.org
Tue May 24 08:27:53 PDT 2011
oox/source/export/shapes.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d4972287d4e0eea4ccc268adcf99f6c3ff7c0c5c
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue May 24 16:27:45 2011 +0100
WaE: >>= may fail, default to 0
diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx
index eb6dad3..ff030f8 100644
--- a/oox/source/export/shapes.cxx
+++ b/oox/source/export/shapes.cxx
@@ -994,7 +994,7 @@ void ShapeExport::WriteTable( Reference< XShape > rXShape )
for ( sal_Int32 x = 0; x < nColumnCount; x++ )
{
Reference< XPropertySet > xColPropSet( xColumns->getByIndex( x ), UNO_QUERY_THROW );
- sal_Int32 nWidth;
+ sal_Int32 nWidth(0);
xColPropSet->getPropertyValue( S("Width") ) >>= nWidth;
mpFS->singleElementNS( XML_a, XML_gridCol, XML_w, I64S(MM100toEMU(nWidth)), FSEND );
More information about the Libreoffice-commits
mailing list