summaryrefslogtreecommitdiffstats
path: root/tools/porting/src/textreplacement.h
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@nokia.com>2010-11-01 15:19:11 (GMT)
committerSergio Ahumada <sergio.ahumada@nokia.com>2010-11-01 15:19:11 (GMT)
commitd190802d33b763e7a21b85fb3dc2ed7c039ddbb6 (patch)
treed945449884c12b5df28f9766ca6523b6707e39d5 /tools/porting/src/textreplacement.h
parent24a4c51b3d8fabb0164fbe94a1e5b813e1827721 (diff)
downloadQt-d190802d33b763e7a21b85fb3dc2ed7c039ddbb6.zip
Qt-d190802d33b763e7a21b85fb3dc2ed7c039ddbb6.tar.gz
Qt-d190802d33b763e7a21b85fb3dc2ed7c039ddbb6.tar.bz2
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 f90fb82..f351552 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();