mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00
use new style cast in QFontEngineFT::minRightBearing()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
21b2fd740d
commit
3c7ad287f5
1 changed files with 1 additions and 1 deletions
|
@ -1185,7 +1185,7 @@ qreal QFontEngineFT::minRightBearing() const
|
|||
{
|
||||
if (rbearing == SHRT_MIN) {
|
||||
lbearing = rbearing = 0;
|
||||
const QChar *ch = (const QChar *)(const void*)char_table;
|
||||
const QChar *ch = reinterpret_cast<const QChar *>(char_table);
|
||||
QGlyphLayoutArray<char_table_entries> glyphs;
|
||||
int ng = char_table_entries;
|
||||
stringToCMap(ch, char_table_entries, &glyphs, &ng, QTextEngine::GlyphIndicesOnly);
|
||||
|
|
Loading…
Add table
Reference in a new issue