Changeset 846 for trunk/src/gui/text/qfontdatabase_win.cpp
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 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/gui/text/qfontdatabase_win.cpp
r769 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 46 46 #include "qfontengine_p.h" 47 47 #include "qpaintdevice.h" 48 #include "qlibrary.h"48 #include <private/qsystemlibrary_p.h> 49 49 #include "qabstractfileengine.h" 50 50 #include "qendian.h" … … 1050 1050 if(!fnt->data.isEmpty()) { 1051 1051 #ifndef Q_OS_WINCE 1052 PtrAddFontMemResourceEx ptrAddFontMemResourceEx = (PtrAddFontMemResourceEx)Q Library::resolve(QLatin1String("gdi32"),1052 PtrAddFontMemResourceEx ptrAddFontMemResourceEx = (PtrAddFontMemResourceEx)QSystemLibrary::resolve(QLatin1String("gdi32"), 1053 1053 "AddFontMemResourceEx"); 1054 1054 if (!ptrAddFontMemResourceEx) … … 1112 1112 return; 1113 1113 #else 1114 // supported from 2000 on, so no need to deal with the *A variant 1115 PtrAddFontResourceExW ptrAddFontResourceExW = (PtrAddFontResourceExW)QLibrary::resolve(QLatin1String("gdi32"), 1114 PtrAddFontResourceExW ptrAddFontResourceExW = (PtrAddFontResourceExW)QSystemLibrary::resolve(QLatin1String("gdi32"), 1116 1115 "AddFontResourceExW"); 1117 1116 if (!ptrAddFontResourceExW … … 1142 1141 return false; 1143 1142 #else 1144 PtrRemoveFontMemResourceEx ptrRemoveFontMemResourceEx = (PtrRemoveFontMemResourceEx)Q Library::resolve(QLatin1String("gdi32"),1143 PtrRemoveFontMemResourceEx ptrRemoveFontMemResourceEx = (PtrRemoveFontMemResourceEx)QSystemLibrary::resolve(QLatin1String("gdi32"), 1145 1144 "RemoveFontMemResourceEx"); 1146 1145 if (!ptrRemoveFontMemResourceEx … … 1153 1152 return false; 1154 1153 #else 1155 PtrRemoveFontResourceExW ptrRemoveFontResourceExW = (PtrRemoveFontResourceExW)Q Library::resolve(QLatin1String("gdi32"),1154 PtrRemoveFontResourceExW ptrRemoveFontResourceExW = (PtrRemoveFontResourceExW)QSystemLibrary::resolve(QLatin1String("gdi32"), 1156 1155 "RemoveFontResourceExW"); 1157 1156 if (!ptrRemoveFontResourceExW
Note:
See TracChangeset
for help on using the changeset viewer.