~ubuntu-branches/ubuntu/raring/kdepimlibs/raring-proposed

« back to all changes in this revision

Viewing changes to kpimutils/spellingfilter.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-07-26 17:13:11 UTC
  • mfrom: (1.1.81)
  • Revision ID: package-import@ubuntu.com-20120726171311-j2heoxylb6lbhg4w
Tags: 4:4.9.0-0ubuntu1
* New upstream release
* Use direct build-depends versions rather than kde-sc-dev-latest

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
  }
74
74
 
75
75
  QStringList::const_iterator iter = filterStrings.begin();
76
 
  while ( iter != filterStrings.end() ) {
 
76
  QStringList::const_iterator endIter = filterStrings.end();
 
77
  while ( iter != endIter ) {
77
78
    c.censorString( *iter );
78
79
    ++iter;
79
80
  }
230
231
 
231
232
void SpellingFilter::TextCensor::findEmailAddress()
232
233
{
233
 
  while ( mPos < mText.length() && mText[mPos] != '@' ) {
 
234
  while ( mPos < mText.length() && mText[mPos] != QLatin1Char('@') ) {
234
235
    ++mPos;
235
236
  }
236
237
}