- smaller then -> smaller than
- bigger then -> bigger than
- ... then -> ... than

svn path=/trunk/KDE/kdegraphics/okular/; revision=872264
remotes/origin/old/work/tiff-improvements
Frederik Schwarzer 18 years ago
parent 5626a6d60c
commit 39e964b2a0
  1. 6
      core/textpage.cpp
  2. 4
      generators/comicbook/qnatsort.h

@ -181,7 +181,7 @@ RegularAreaRect * TextPage::textArea ( TextSelection * sel) const
int itB = -1;
int itE = -1;
// ending cursor is higher then start cursor, we need to find positions in reverse
// ending cursor is higher than start cursor, we need to find positions in reverse
NormalizedRect tmp;
NormalizedRect start;
NormalizedRect end;
@ -418,7 +418,7 @@ RegularAreaRect* TextPagePrivate::findTextInternalForward( int searchID, const Q
#ifdef DEBUG_TEXTPAGE
kDebug(OkularDebug) << str.mid(offset,min) << ":" << _query.mid(j,min);
#endif
// we have equal (or less then) area of the query left as the lengt of the current
// we have equal (or less than) area of the query left as the length of the current
// entity
if ((caseSensitivity == Qt::CaseSensitive)
@ -544,7 +544,7 @@ RegularAreaRect* TextPagePrivate::findTextInternalBackward( int searchID, const
#ifdef DEBUG_TEXTPAGE
kDebug(OkularDebug) << str.right(min) << " : " << _query.mid(j-min+1,min);
#endif
// we have equal (or less then) area of the query left as the lengt of the current
// we have equal (or less than) area of the query left as the length of the current
// entity
if ((caseSensitivity == Qt::CaseSensitive)

@ -40,13 +40,13 @@
*/
/**
* Returns whether the @p left string is lesser then the @p right string
* Returns whether the @p left string is lesser than the @p right string
* in natural order.
*/
bool caseSensitiveNaturalOrderLessThen( const QString &left, const QString &right );
/**
* Returns whether the @p left string is lesser then the @p right string
* Returns whether the @p left string is lesser than the @p right string
* in natural order and case insensitive.
*/
bool caseInsensitiveNaturalOrderLessThen( const QString &left, const QString &right );

Loading…
Cancel
Save