summaryrefslogtreecommitdiff
path: root/tools/porting/src/textreplacement.h
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@nokia.com>2010-11-01 16:19:11 +0100
committerSergio Ahumada <sergio.ahumada@nokia.com>2010-11-01 16:19:11 +0100
commitd190802d33b763e7a21b85fb3dc2ed7c039ddbb6 (patch)
treed945449884c12b5df28f9766ca6523b6707e39d5 /tools/porting/src/textreplacement.h
parent24a4c51b3d8fabb0164fbe94a1e5b813e1827721 (diff)
downloadqt4-tools-d190802d33b763e7a21b85fb3dc2ed7c039ddbb6.tar.gz
Doc: Fixing typo
Diffstat (limited to 'tools/porting/src/textreplacement.h')
-rw-r--r--tools/porting/src/textreplacement.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/porting/src/textreplacement.h b/tools/porting/src/textreplacement.h
index f90fb82bd9..f3515525a6 100644
--- a/tools/porting/src/textreplacement.h
+++ b/tools/porting/src/textreplacement.h
@@ -53,7 +53,7 @@ class TextReplacement
public:
QByteArray newText;
int insertPosition;
- int currentLenght; //lenght of the text that is going to be replaced.
+ int currentLenght; //length of the text that is going to be replaced.
bool operator<(const TextReplacement &other) const
{
return (insertPosition < other.insertPosition);
@@ -70,7 +70,7 @@ public:
insert maintains the TextReplacement list in sorted order.
- Returns true if the insert was successfull, false otherwise;
+ Returns true if the insert was successful, false otherwise;
*/
bool insert(QByteArray newText, int insertPosition, int currentLenght);
void clear();