[Libreoffice-commits] core.git: oox/source
Julien Nabet
serval2412 at yahoo.fr
Sat Apr 4 02:52:50 PDT 2015
oox/source/drawingml/shape.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 32c63e9a312b591dd36471bef9003975a37ae05a
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Apr 4 11:51:59 2015 +0200
cppcheck: Prefer prefix ++/-- operators for non-primitive types
Change-Id: I17dfb0a818838b00d9148ee1c6328ef094eab99b
diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx
index 20d68e4..68e25fc 100644
--- a/oox/source/drawingml/shape.cxx
+++ b/oox/source/drawingml/shape.cxx
@@ -412,13 +412,13 @@ Reference< XShape > Shape::createAndInsert(
{
maSize.Width = 0;
for( std::vector< sal_Int32 >::const_iterator aTableColIter(mpTablePropertiesPtr->getTableGrid().begin());
- aTableColIter != mpTablePropertiesPtr->getTableGrid().end(); aTableColIter++ )
+ aTableColIter != mpTablePropertiesPtr->getTableGrid().end(); ++aTableColIter )
{
maSize.Width += *aTableColIter;
}
maSize.Height = 0;
for( std::vector< ::oox::drawingml::table::TableRow >::const_iterator aTableRowIter(mpTablePropertiesPtr->getTableRows().begin());
- aTableRowIter != mpTablePropertiesPtr->getTableRows().end(); aTableRowIter++ )
+ aTableRowIter != mpTablePropertiesPtr->getTableRows().end(); ++aTableRowIter )
{
maSize.Height += (*aTableRowIter).getHeight();
}
More information about the Libreoffice-commits
mailing list