[Libreoffice-commits] .: oox/source
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Dec 30 13:09:02 PST 2010
oox/source/drawingml/table/tableproperties.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 38b3d7324864b670a9151f9f6910448a82552c86
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Dec 30 21:08:57 2010 +0000
cppcheck: prefer prefix variant
diff --git a/oox/source/drawingml/table/tableproperties.cxx b/oox/source/drawingml/table/tableproperties.cxx
index 2c6706c..bc67aa1 100644
--- a/oox/source/drawingml/table/tableproperties.cxx
+++ b/oox/source/drawingml/table/tableproperties.cxx
@@ -78,7 +78,7 @@ void CreateTableRows( uno::Reference< XTableRows > xTableRows, const std::vector
static const rtl::OUString sHeight( RTL_CONSTASCII_USTRINGPARAM ( "Height" ) );
Reference< XPropertySet > xPropSet( xIndexAccess->getByIndex( n ), UNO_QUERY_THROW );
xPropSet->setPropertyValue( sHeight, Any( static_cast< sal_Int32 >( aTableRowIter->getHeight() / 360 ) ) );
- aTableRowIter++;
+ ++aTableRowIter;
}
}
More information about the Libreoffice-commits
mailing list