summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Hartmann <[email protected]>2012-10-05 10:50:55 +0200
committerThe Qt Project <[email protected]>2012-10-08 09:06:15 +0200
commitb40838964d46444908a2338c4e8b6d13fb0def6e (patch)
treecf5952903fa85e727c06c0227c7f3481226ad39c
parent9577c227810731da40704598d6b4babc139eaec6 (diff)
fixing typo in compile fix for MSVC 2008
Change-Id: If1955395d9c476a49e6d6f2ae14e6ad6c63a7da7 Reviewed-by: Friedemann Kleint <[email protected]> Reviewed-by: Joerg Bornemann <[email protected]>
-rw-r--r--src/gui/text/qtextdocumentlayout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qtextdocumentlayout.cpp b/src/gui/text/qtextdocumentlayout.cpp
index 9b77c9c382b..f4959574cfb 100644
--- a/src/gui/text/qtextdocumentlayout.cpp
+++ b/src/gui/text/qtextdocumentlayout.cpp
@@ -404,7 +404,7 @@ Q_STATIC_GLOBAL_OPERATOR bool operator<(const QCheckPoint &checkPoint, int pos)
#if defined(Q_CC_MSVC) && _MSC_VER < 1600
//The STL implementation of MSVC 2008 requires the definitions
-Q_STATIC_GLOBAL_OPERATOR bool operator<(const QCheckPoint &checkPoint2, const QCheckPoint &checkPoint1)
+Q_STATIC_GLOBAL_OPERATOR bool operator<(const QCheckPoint &checkPoint1, const QCheckPoint &checkPoint2)
{
return checkPoint1.y < checkPoint2.y;
}