Changeset 52143 in webkit


Ignore:
Timestamp:
Dec 15, 2009 1:29:19 AM (14 years ago)
Author:
zecke@webkit.org
Message:

[Qt] Remove dead code from FontPlatformDataQt.cpp

https://bugs.webkit.org/show_bug.cgi?id=32540

In r51758 the code that used familyNames was removed
and we should remove the creation of the familyNames
as well.

  • platform/graphics/qt/FontPlatformDataQt.cpp:
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r52141 r52143  
     12009-12-14  Holger Hans Peter Freyther  <zecke@selfish.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        [Qt] Remove dead code from FontPlatformDataQt.cpp
     6        https://bugs.webkit.org/show_bug.cgi?id=32540
     7
     8        In r51758 the code that used familyNames was removed
     9        and we should remove the creation of the familyNames
     10        as well.
     11
     12        * platform/graphics/qt/FontPlatformDataQt.cpp:
     13        (WebCore::FontPlatformData::FontPlatformData):
     14
    1152009-12-15  Dan Bernstein  <mitz@apple.com>
    216
  • trunk/WebCore/platform/graphics/qt/FontPlatformDataQt.cpp

    r51758 r52143  
    5050    : m_data(new FontPlatformDataPrivate())
    5151{
    52     QString familyNames(familyName);
    53     if (!familyName.isEmpty())
    54         familyNames += QLatin1Char(',');
    55 
    56     const FontFamily* family = &description.family();
    57     while (family) {
    58         familyNames += family->family();
    59         family = family->next();
    60         if (family)
    61             familyNames += QLatin1Char(',');
    62     }
    6352    QFont& font = m_data->font;
    6453    font.setFamily(familyName);
Note: See TracChangeset for help on using the changeset viewer.