Changeset 651 for trunk/src/gui/text/qfontdatabase_s60.cpp
- Timestamp:
- Mar 8, 2010, 12:52:58 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.2 (added) merged: 650 /branches/vendor/nokia/qt/current merged: 649 /branches/vendor/nokia/qt/4.6.1 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/text/qfontdatabase_s60.cpp
r561 r651 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 20 09Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 20 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 247 247 248 248 const int numTypeFaces = QS60Data::screenDevice()->NumTypefaces(); 249 const QFontDatabaseS60StoreImplementation *store = dynamic_cast<const QFontDatabaseS60StoreImplementation*>(db->s60Store);250 Q_ASSERT(store);249 const QFontDatabaseS60StoreImplementation *store = 250 tore); 251 251 bool fontAdded = false; 252 252 for (int i = 0; i < numTypeFaces; i++) { … … 259 259 if (font->TypeUid() == KCFbsFontUid) { 260 260 TOpenFontFaceAttrib faceAttrib; 261 const CFbsFont *cfbsFont = dynamic_cast<const CFbsFont *>(font); 262 Q_ASSERT(cfbsFont); 261 const CFbsFont *cfbsFont = static_cast<const CFbsFont *>(font); 263 262 cfbsFont->GetFaceAttrib(faceAttrib); 264 263 … … 391 390 request.family = fontFamily; 392 391 #if defined(QT_NO_FREETYPE) 393 const QFontDatabaseS60StoreImplementation *store = dynamic_cast<const QFontDatabaseS60StoreImplementation*>(db->s60Store);394 Q_ASSERT(store);392 const QFontDatabaseS60StoreImplementation *store = 393 tore); 395 394 const QFontEngineS60Extensions *extension = store->extension(fontFamily); 396 395 fe = new QFontEngineS60(request, extension);
Note:
See TracChangeset
for help on using the changeset viewer.