From dcc4dc7a89e5f5f7fb4217815b892f4b0106d5a0 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 24 Nov 2023 10:47:46 +0900 Subject: Replaced various '#define' with actual strings - part 3 Signed-off-by: Michele Calgaro --- lib/kotext/KoTextFormatter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/kotext/KoTextFormatter.cpp') diff --git a/lib/kotext/KoTextFormatter.cpp b/lib/kotext/KoTextFormatter.cpp index 60e6528f5..5fb9cdc28 100644 --- a/lib/kotext/KoTextFormatter.cpp +++ b/lib/kotext/KoTextFormatter.cpp @@ -118,7 +118,7 @@ TQPair KoTextFormatterCore::determineCharWidth() } Q_ASSERT( ww >= 0 ); c->width = ww; - return tqMakePair(ww, pixelww); + return qMakePair(ww, pixelww); } @@ -257,7 +257,7 @@ bool KoTextFormatterCore::format() int col = 0; - maxAvailableWidth = tqMakePair( 0, 0 ); + maxAvailableWidth = qMakePair( 0, 0 ); KoTextZoomHandler *zh = doc->formattingZoomHandler(); int pixelx = zh->layoutUnitToPixelX( x ); -- cgit v1.2.3