[Libreoffice-commits] .: toolkit/source
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Dec 29 13:04:11 PST 2010
toolkit/source/awt/vclxtabcontrol.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit f3ae1b3d44972f2c6186696eafa59c37b7e6545c
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Dec 29 21:03:40 2010 +0000
cppcheck: prefer prefix variants
diff --git a/toolkit/source/awt/vclxtabcontrol.cxx b/toolkit/source/awt/vclxtabcontrol.cxx
index 7facab9..d1022cd 100644
--- a/toolkit/source/awt/vclxtabcontrol.cxx
+++ b/toolkit/source/awt/vclxtabcontrol.cxx
@@ -373,7 +373,7 @@ void SAL_CALL VCLXTabControl::allocateArea (awt::Rectangle const &area)
// it here does makes it easier when changing tabs (just needs a recalc())
unsigned i = 0;
for ( std::list<Box_Base::ChildData *>::const_iterator it
- = maChildren.begin(); it != maChildren.end(); it++, ++i )
+ = maChildren.begin(); it != maChildren.end(); ++it, ++i )
{
ChildData *child = static_cast<VCLXTabControl::ChildData*> ( *it );
uno::Reference
@@ -417,7 +417,7 @@ awt::Size SAL_CALL VCLXTabControl::getMinimumSize()
// calculate size to accomodate all children
unsigned i = 0;
for ( std::list<Box_Base::ChildData *>::const_iterator it
- = maChildren.begin(); it != maChildren.end(); it++, ++i )
+ = maChildren.begin(); it != maChildren.end(); ++it, ++i )
{
ChildData *child = static_cast<VCLXTabControl::ChildData*> ( *it );
if ( child->mxChild.is() )
More information about the Libreoffice-commits
mailing list