[Libreoffice-commits] .: forms/source
Caolán McNamara
caolan at kemper.freedesktop.org
Sat Jan 1 13:07:08 PST 2011
forms/source/xforms/model.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 507f6705b825c05ac08eb5396cec7a7b04d80f7b
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jan 1 21:06:25 2011 +0000
cppcheck: prefer prefix variant
diff --git a/forms/source/xforms/model.cxx b/forms/source/xforms/model.cxx
index 5c9bf8a..a1326be 100644
--- a/forms/source/xforms/model.cxx
+++ b/forms/source/xforms/model.cxx
@@ -338,7 +338,7 @@ MIP Model::queryMIP( const XNode_t& xNode ) const
MIP aMIP;
MIPs_t::const_iterator aEnd = maMIPs.upper_bound( xCurrent );
MIPs_t::const_iterator aIter = maMIPs.lower_bound( xCurrent );
- for( ; aIter != aEnd; aIter++ )
+ for( ; aIter != aEnd; ++aIter )
aMIP.join( aIter->second.second );
// inherit from current node (or set if we are at the start node)
More information about the Libreoffice-commits
mailing list