summaryrefslogtreecommitdiffstats
path: root/tools/xmlpatterns/main.cpp
diff options
context:
space:
mode:
authorminiak <milan.burda@gmail.com>2009-07-01 09:50:23 (GMT)
committerMarius Storm-Olsen <marius@trolltech.com>2009-07-01 09:51:23 (GMT)
commit5ea86cfac34f65b2321ceeeb651e4e7099bf59a0 (patch)
tree22b8a82d8ea31ad1df0d8806394d03e23079c5fa /tools/xmlpatterns/main.cpp
parent24e7a5f983ead3fe722703851cf59cd0943e3964 (diff)
downloadQt-5ea86cfac34f65b2321ceeeb651e4e7099bf59a0.zip
Qt-5ea86cfac34f65b2321ceeeb651e4e7099bf59a0.tar.gz
Qt-5ea86cfac34f65b2321ceeeb651e4e7099bf59a0.tar.bz2
tools: Remove QT_WA and non-Unicode code paths, dropping Win9x and NT support
Also QString::fromUtf16() -> QString::fromWCharArray() Merge-request: 604 Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
Diffstat (limited to 'tools/xmlpatterns/main.cpp')
-rw-r--r--tools/xmlpatterns/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xmlpatterns/main.cpp b/tools/xmlpatterns/main.cpp
index a5c2c41..2405d5d 100644
--- a/tools/xmlpatterns/main.cpp
+++ b/tools/xmlpatterns/main.cpp
@@ -194,7 +194,7 @@ protected:
/* If we don't open stdout in "binary" mode on Windows, it will translate
* 0xA into 0xD 0xA. See Trolltech task 173619, for an example. */
_setmode(_fileno(stdout), _O_BINARY);
- m_stdout = QT_WA_INLINE(_wfdopen(_fileno(stdout), L"wb"),_fdopen(_fileno(stdout), "wb"));
+ m_stdout = _wfdopen(_fileno(stdout), L"wb");
out->open(m_stdout, QIODevice::WriteOnly);
#else
out->open(stdout, QIODevice::WriteOnly);