[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/libs/flake (silent)
From: Jan Hambrecht <jaham () gmx ! net>
Date: 2008-05-17 14:47:23
Message-ID: 1211035643.567670.29425.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 808794 by jaham:
SVN_SILENT some foreach fixes
M +1 -1 KoPathSegment.cpp
M +1 -1 KoSnapStrategy.cpp
--- trunk/koffice/libs/flake/KoPathSegment.cpp #808793:808794
@@ -187,7 +187,7 @@
QList<QPointF> points = controlPoints();
QRectF bbox( points.first(), points.first() );
- foreach( QPointF p, points )
+ foreach( const QPointF &p, points )
{
bbox.setLeft( qMin( bbox.left(), p.x() ) );
bbox.setRight( qMax( bbox.right(), p.x() ) );
--- trunk/koffice/libs/flake/KoSnapStrategy.cpp #808793:808794
@@ -354,7 +354,7 @@
{
QList<QPointF> isects = s1.intersections( segments[j] );
//kDebug() << isects.count() << "intersections found";
- foreach( QPointF point, isects )
+ foreach( const QPointF &point, isects )
{
if( ! rect.contains( point ) )
continue;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic