diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-12-23 14:01:44 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-23 14:01:44 +0000 |
commit | bcd2464e89622a010eb85d4a77e7fb0302adbd59 (patch) | |
tree | 1e78c3f3f06113f0cc8d828090fa6ade0bcb82be /toolkit/source/layout | |
parent | 01398814d4799248cc29765a739413fae5290ad0 (diff) |
cppcheck: prefer prefix variant
Diffstat (limited to 'toolkit/source/layout')
-rw-r--r-- | toolkit/source/layout/core/box-base.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/source/layout/core/box-base.cxx b/toolkit/source/layout/core/box-base.cxx index b9db7098bc57..e4089df5f3a9 100644 --- a/toolkit/source/layout/core/box-base.cxx +++ b/toolkit/source/layout/core/box-base.cxx @@ -108,7 +108,7 @@ Box_Base::ChildData* Box_Base::removeChildData( std::list< ChildData* >& lst, css::uno::Reference< css::awt::XLayoutConstrains > const& xChild ) { for ( std::list< ChildData* >::iterator it = lst.begin(); - it != lst.end(); it++ ) + it != lst.end(); ++it ) { if ( (*it)->mxChild == xChild ) { @@ -143,7 +143,7 @@ Box_Base::getChildren() uno::Sequence< uno::Reference< awt::XLayoutConstrains > > children( maChildren.size() ); unsigned int index = 0; for ( std::list< ChildData* >::iterator it = maChildren.begin(); - it != maChildren.end(); it++, index++ ) + it != maChildren.end(); ++it, ++index ) children[index] = ( *it )->mxChild; return children; @@ -155,7 +155,7 @@ Box_Base::getChildProperties( const uno::Reference< awt::XLayoutConstrains >& xC { for ( std::list< ChildData * >::iterator it = maChildren.begin(); - it != maChildren.end(); it++) + it != maChildren.end(); ++it) { if ( ( *it )->mxChild == xChild ) { |