From 0a1fe50d0bc32353bb7aaf8eef4759afd54901aa Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Thu, 7 Jul 2022 16:36:38 +0200 Subject: Pass QFixed by value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's a glorified int, so pass it by value instead of cref. Pick-to: 6.4 Change-Id: I1c7a37614cd0d2dac63d2d549563600d401d6dad Reviewed-by: Sérgio Martins Reviewed-by: Lars Knoll --- src/gui/text/qtextlayout.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/text/qtextlayout.cpp') diff --git a/src/gui/text/qtextlayout.cpp b/src/gui/text/qtextlayout.cpp index d4146757c5..365131f508 100644 --- a/src/gui/text/qtextlayout.cpp +++ b/src/gui/text/qtextlayout.cpp @@ -2189,8 +2189,8 @@ static QGlyphRun glyphRunWithInfo(QFontEngine *fontEngine, const QGlyphLayout &glyphLayout, const QPointF &pos, const QGlyphRun::GlyphRunFlags &flags, - const QFixed &selectionX, - const QFixed &selectionWidth, + QFixed selectionX, + QFixed selectionWidth, int glyphsStart, int glyphsEnd, unsigned short *logClusters, -- cgit v1.2.3