diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-24 10:47:46 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-24 22:32:24 +0900 |
| commit | f9893e5b16c7694da25e60805fe751691e127e85 (patch) | |
| tree | 2b204fdab8798eaed0346d1b24bb646c6c89085c /lib/kotext/KoTextFormatter.cpp | |
| parent | 8263fdf7603821cad365e436ab78557f40a9e9db (diff) | |
| download | koffice-f9893e5b16c7694da25e60805fe751691e127e85.tar.gz koffice-f9893e5b16c7694da25e60805fe751691e127e85.zip | |
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit dcc4dc7a89e5f5f7fb4217815b892f4b0106d5a0)
Diffstat (limited to 'lib/kotext/KoTextFormatter.cpp')
| -rw-r--r-- | lib/kotext/KoTextFormatter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<int, int> 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 ); |
