From 6b6fefad48abed28df69d0fa830accbb0c8dcb4d Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Mon, 24 Sep 2012 18:12:43 +0200 Subject: Remove duplicate words and punctuation from documentation. Change-Id: I5550c62d412510bc2c5acceb2cae7d2f2ef6a8d3 Reviewed-by: Jerome Pasion --- src/corelib/global/qglobal.cpp | 2 +- src/corelib/json/qjsonobject.cpp | 2 +- src/corelib/kernel/qsystemerror.cpp | 2 +- src/corelib/mimetypes/qmimetype.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/corelib') diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp index 1c615dc95f..6580bfbf10 100644 --- a/src/corelib/global/qglobal.cpp +++ b/src/corelib/global/qglobal.cpp @@ -1988,7 +1988,7 @@ namespace { // indicating success or not // b) the GNU version, which returns a char*, which may or may not // be the beginning of the buffer we used - // The GNU libc manpage for strerror_r says you should use the the XSI + // The GNU libc manpage for strerror_r says you should use the XSI // version in portable code. However, it's impossible to do that if // _GNU_SOURCE is defined so we use C++ overloading to decide what to do // depending on the return type diff --git a/src/corelib/json/qjsonobject.cpp b/src/corelib/json/qjsonobject.cpp index c93a4f811d..728bbbd0ec 100644 --- a/src/corelib/json/qjsonobject.cpp +++ b/src/corelib/json/qjsonobject.cpp @@ -219,7 +219,7 @@ QStringList QJsonObject::keys() const } /*! - Returns the the number of (key, value) pairs stored in the object. + Returns the number of (key, value) pairs stored in the object. */ int QJsonObject::size() const { diff --git a/src/corelib/kernel/qsystemerror.cpp b/src/corelib/kernel/qsystemerror.cpp index 76cca16932..bf8121b1b3 100644 --- a/src/corelib/kernel/qsystemerror.cpp +++ b/src/corelib/kernel/qsystemerror.cpp @@ -65,7 +65,7 @@ namespace { // indicating success or not // b) the GNU version, which returns a char*, which may or may not // be the beginning of the buffer we used - // The GNU libc manpage for strerror_r says you should use the the XSI + // The GNU libc manpage for strerror_r says you should use the XSI // version in portable code. However, it's impossible to do that if // _GNU_SOURCE is defined so we use C++ overloading to decide what to do // depending on the return type diff --git a/src/corelib/mimetypes/qmimetype.cpp b/src/corelib/mimetypes/qmimetype.cpp index f14c32c1b1..9be613924e 100644 --- a/src/corelib/mimetypes/qmimetype.cpp +++ b/src/corelib/mimetypes/qmimetype.cpp @@ -359,7 +359,7 @@ QStringList QMimeType::suffixes() const QStringList result; foreach (const QString &pattern, d->globPatterns) { - // Not a simple suffix if if looks like: README or *. or *.* or *.JP*G or *.JP? + // Not a simple suffix if it looks like: README or *. or *.* or *.JP*G or *.JP? if (pattern.startsWith(QLatin1String("*.")) && pattern.length() > 2 && pattern.indexOf(QLatin1Char('*'), 2) < 0 && pattern.indexOf(QLatin1Char('?'), 2) < 0) { -- cgit v1.2.3