[Libreoffice-commits] .: toolkit/source
Caolán McNamara
caolan at kemper.freedesktop.org
Sat Nov 27 09:06:17 PST 2010
toolkit/source/controls/unocontrolmodel.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 06ae822757f4a02e082247f76c00a44a8a1fe375
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Nov 27 16:51:34 2010 +0000
cppcheck: use prefix form
diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx
index 10a14d7..4c1763f 100644
--- a/toolkit/source/controls/unocontrolmodel.cxx
+++ b/toolkit/source/controls/unocontrolmodel.cxx
@@ -477,7 +477,8 @@ void UnoControlModel::ImplRegisterProperty( sal_uInt16 nPropId )
void UnoControlModel::ImplRegisterProperties( const std::list< sal_uInt16 > &rIds )
{
std::list< sal_uInt16 >::const_iterator iter;
- for( iter = rIds.begin(); iter != rIds.end(); iter++) {
+ for( iter = rIds.begin(); iter != rIds.end(); ++iter)
+ {
if( !ImplHasProperty( *iter ) )
ImplRegisterProperty( *iter, ImplGetDefaultValue( *iter ) );
}
More information about the Libreoffice-commits
mailing list