summaryrefslogtreecommitdiffstats
path: root/src/activeqt/container/qaxdump.cpp
diff options
context:
space:
mode:
authorminiak <milan.burda@gmail.com>2009-07-01 09:50:07 (GMT)
committerMarius Storm-Olsen <marius@trolltech.com>2009-07-01 09:51:18 (GMT)
commit22ab94871c4a924e37eca720a1620da2e1a7259d (patch)
tree2a8a065b1fb7db76e2651a0340071dc8d8b666a8 /src/activeqt/container/qaxdump.cpp
parent5db6c3b72d3c28f55f14883767d29db3441b1b66 (diff)
downloadQt-22ab94871c4a924e37eca720a1620da2e1a7259d.zip
Qt-22ab94871c4a924e37eca720a1620da2e1a7259d.tar.gz
Qt-22ab94871c4a924e37eca720a1620da2e1a7259d.tar.bz2
src/activeqt: Remove QT_WA and non-Unicode code paths, dropping Win9x and NT support
Also, buffer sizes passed to Registry APIs were incorrect. Merge-request: 604 Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
Diffstat (limited to 'src/activeqt/container/qaxdump.cpp')
-rw-r--r--src/activeqt/container/qaxdump.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/activeqt/container/qaxdump.cpp b/src/activeqt/container/qaxdump.cpp
index 39d5121..a654a8f 100644
--- a/src/activeqt/container/qaxdump.cpp
+++ b/src/activeqt/container/qaxdump.cpp
@@ -66,8 +66,8 @@ QString qax_docuFromName(ITypeInfo *typeInfo, const QString &name)
BSTR docStringBstr, helpFileBstr;
ulong helpContext;
HRESULT hres = typeInfo->GetDocumentation(memId, 0, &docStringBstr, &helpContext, &helpFileBstr);
- QString docString = QString::fromUtf16((const ushort *)docStringBstr);
- QString helpFile = QString::fromUtf16((const ushort *)helpFileBstr);
+ QString docString = QString::fromWCharArray(docStringBstr);
+ QString helpFile = QString::fromWCharArray(helpFileBstr);
SysFreeString(docStringBstr);
SysFreeString(helpFileBstr);
if (hres == S_OK) {