diff options
Diffstat (limited to 'src/gui/text/qtextlayout.cpp')
-rw-r--r-- | src/gui/text/qtextlayout.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/text/qtextlayout.cpp b/src/gui/text/qtextlayout.cpp index 381c1d20ce..cb17006c29 100644 --- a/src/gui/text/qtextlayout.cpp +++ b/src/gui/text/qtextlayout.cpp @@ -1679,6 +1679,7 @@ namespace { inline void calculateRightBearing(QFontEngine *engine, glyph_t glyph) { + Q_ASSERT(engine); qreal rb; engine->getGlyphBearings(glyph, nullptr, &rb); |