Compile in C++0x mode

Change-Id: If97bdd94a51756e48167990a4014ba1059d0a507
Reviewed-on: http://codereview.qt-project.org/5026
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
This commit is contained in:
Lars Knoll 2011-09-15 22:28:43 +02:00 committed by Qt by Nokia
parent 884251cdc1
commit a13b17e42a

View File

@ -368,11 +368,15 @@ QStringList QBasicUnixFontDatabase::addTTFile(const QByteArray &fontData, const
TT_OS2 *os2 = (TT_OS2 *)FT_Get_Sfnt_Table(face, ft_sfnt_os2); TT_OS2 *os2 = (TT_OS2 *)FT_Get_Sfnt_Table(face, ft_sfnt_os2);
if (os2) { if (os2) {
quint32 unicodeRange[4] = { quint32 unicodeRange[4] = {
os2->ulUnicodeRange1, os2->ulUnicodeRange2, os2->ulUnicodeRange3, os2->ulUnicodeRange4 quint32(os2->ulUnicodeRange1),
}; quint32(os2->ulUnicodeRange2),
quint32(os2->ulUnicodeRange3),
quint32(os2->ulUnicodeRange4)
};
quint32 codePageRange[2] = { quint32 codePageRange[2] = {
os2->ulCodePageRange1, os2->ulCodePageRange2 quint32(os2->ulCodePageRange1),
}; quint32(os2->ulCodePageRange2)
};
writingSystems = determineWritingSystemsFromTrueTypeBits(unicodeRange, codePageRange); writingSystems = determineWritingSystemsFromTrueTypeBits(unicodeRange, codePageRange);