src/sql/kernel/qsqlresult.cpp
branchRCL_3
changeset 5 d3bac044e0f0
parent 4 3b1da2848fc7
child 7 3f74d0d4af4c
--- a/src/sql/kernel/qsqlresult.cpp	Fri Feb 19 23:40:16 2010 +0200
+++ b/src/sql/kernel/qsqlresult.cpp	Fri Mar 12 15:46:37 2010 +0200
@@ -136,7 +136,7 @@
         i >>= 4;
     }
 
-    return QString::fromUtf16(arr, int(ptr - arr) + 1);
+    return QString(reinterpret_cast<const QChar *>(arr), int(ptr - arr) + 1);
 }
 
 static bool qIsAlnum(QChar ch)