Ignore:
Timestamp:
Mar 8, 2010, 12:52:58 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.2 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/text/qfontdatabase_s60.cpp

    r561 r651  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 20 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation ([email protected])
     
    247247   
    248248    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);
    251251    bool fontAdded = false;
    252252    for (int i = 0; i < numTypeFaces; i++) {
     
    259259        if (font->TypeUid() == KCFbsFontUid) {
    260260            TOpenFontFaceAttrib faceAttrib;
    261             const CFbsFont *cfbsFont = dynamic_cast<const CFbsFont *>(font);
    262             Q_ASSERT(cfbsFont);
     261            const CFbsFont *cfbsFont = static_cast<const CFbsFont *>(font);
    263262            cfbsFont->GetFaceAttrib(faceAttrib);
    264263
     
    391390        request.family = fontFamily;
    392391#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);
    395394        const QFontEngineS60Extensions *extension = store->extension(fontFamily);
    396395        fe = new QFontEngineS60(request, extension);
Note: See TracChangeset for help on using the changeset viewer.