[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/plugins/chartshape
From: Laurent Montel <montel () kde ! org>
Date: 2010-10-28 11:42:01
Message-ID: 20101028114201.1CA50AC89A () svn ! kde ! org
[Download RAW message or body]
SVN commit 1190626 by mlaurent:
const'ify
M +2 -2 CellRegion.cpp
--- trunk/koffice/plugins/chartshape/CellRegion.cpp #1190625:1190626
@@ -139,7 +139,7 @@
QRegExp regEx;
QStringList regionList = searchStr.split( ";" );
- Q_FOREACH( QString region, regionList ) {
+ Q_FOREACH( const QString ®ion, regionList ) {
const bool isPoint = !region.contains( ':' );
if ( isPoint )
regEx = QRegExp( "(|.*\\.)([A-Z]+)([0-9]+)" );
@@ -189,7 +189,7 @@
: d( new Private() )
{
d->table = table;
- foreach( QRect rect, rects )
+ foreach( const QRect& rect, rects )
add( rect );
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic