Changeset 846 for trunk/src/activeqt/shared
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/src/activeqt/shared/qaxtypes.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 53 53 #ifdef QAX_SERVER 54 54 # include <qaxfactory.h> 55 # include < qlibrary.h>55 # include <.h> 56 56 #else 57 57 # include <quuid.h> … … 548 548 bool is2D = false; 549 549 // If the first element in the array is a list the whole list is 550 // treated as a 2D array. The colum count is taken from the 1st element.550 // treated as a 2D array. The colum count is taken from the 1st element. 551 551 if (count) { 552 552 QVariantList col = list.at(0).toList(); … … 667 667 if (!resolved) { 668 668 resolved = true; 669 pGetRecordInfoFromTypeInfo = (PGetRecordInfoFromTypeInfo)Q Library::resolve(QLatin1String("oleaut32"),669 pGetRecordInfoFromTypeInfo = (PGetRecordInfoFromTypeInfo)QLibrary::resolve(QLatin1String("oleaut32"), 670 670 "GetRecordInfoFromTypeInfo"); 671 671 } … … 1377 1377 1378 1378 QVariant::Type proptype = (QVariant::Type)type; 1379 if (proptype == QVariant::Invalid && !typeName.isEmpty()) 1380 proptype = QVariant::nameToType(typeName); 1379 if (proptype == QVariant::Invalid && !typeName.isEmpty()) { 1380 if (typeName != "QVariant") 1381 proptype = QVariant::nameToType(typeName); 1382 } 1381 1383 if (proptype != QVariant::LastType && proptype != QVariant::Invalid && var.type() != proptype) { 1382 1384 if (var.canConvert(proptype)) { -
trunk/src/activeqt/shared/qaxtypes.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected])
Note:
See TracChangeset
for help on using the changeset viewer.