summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarius Storm-Olsen <marius@trolltech.com>2009-07-01 09:50:13 (GMT)
committerMarius Storm-Olsen <marius@trolltech.com>2009-07-01 09:51:20 (GMT)
commit70d033d033b34ed9c0dde38889062bfd8420366c (patch)
treed7b2d7aa3b91f322b123ef9a2308e3da62706027 /src
parent8a7fb1881afe6b358a35cec71247d7e6681efe0a (diff)
downloadQt-70d033d033b34ed9c0dde38889062bfd8420366c.zip
Qt-70d033d033b34ed9c0dde38889062bfd8420366c.tar.gz
Qt-70d033d033b34ed9c0dde38889062bfd8420366c.tar.bz2
src/testlib: LPCWSTR -> wchar_t*
Merge-request: 604 Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
Diffstat (limited to 'src')
-rw-r--r--src/testlib/qplaintestlogger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/qplaintestlogger.cpp b/src/testlib/qplaintestlogger.cpp
index 3047326..071b55e 100644
--- a/src/testlib/qplaintestlogger.cpp
+++ b/src/testlib/qplaintestlogger.cpp
@@ -151,7 +151,7 @@ namespace QTest {
int length = strlen(str);
for (int pos = 0; pos < length; pos +=255) {
QString uniText = QString::fromLatin1(str + pos, 255);
- OutputDebugStringW((const LPCWSTR) uniText.utf16());
+ OutputDebugString((wchar_t*)uniText.utf16());
}
if (QTestLog::outputFileName())
#elif defined(Q_OS_WIN)