summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2010-06-01 08:10:32 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2010-06-01 08:20:50 (GMT)
commit453b2578b5bdb67553dec1c4e8f480c94f1153cd (patch)
tree4406d7339a8cf25eed66d144335713be519af6f8
parent0224052581a209ca909853107364109de87f939b (diff)
downloadQt-453b2578b5bdb67553dec1c4e8f480c94f1153cd.zip
Qt-453b2578b5bdb67553dec1c4e8f480c94f1153cd.tar.gz
Qt-453b2578b5bdb67553dec1c4e8f480c94f1153cd.tar.bz2
tst_qstringref.cpp: Fix licence header and compilation on windows
Somehow the emacs macro for style did a too good job
-rw-r--r--tests/auto/qstringref/tst_qstringref.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/auto/qstringref/tst_qstringref.cpp b/tests/auto/qstringref/tst_qstringref.cpp
index 1980901..2d25efd 100644
--- a/tests/auto/qstringref/tst_qstringref.cpp
+++ b/tests/auto/qstringref/tst_qstringref.cpp
@@ -1,8 +1,8 @@
/****************************************************************************
**
-** Copyright(C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
-** Contact: Nokia Corporation(qt-info@nokia.com)
+** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the test suite of the Qt Toolkit.
**
@@ -39,7 +39,6 @@
**
****************************************************************************/
-
#include <QtTest/QtTest>
#include <qstringlist.h>
#include <qvariant.h>
@@ -167,7 +166,7 @@ static inline double nan()
return *reinterpret_cast<const double *>(be_nan_bytes);
return *reinterpret_cast<const double *>(le_nan_bytes);
}
-# define NAN(::nan())
+# define NAN (::nan())
#endif
tst_QStringRef::tst_QStringRef()