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 10:47:46 +0900 |
| commit | dcc4dc7a89e5f5f7fb4217815b892f4b0106d5a0 (patch) | |
| tree | 28dc129d7fd7fc71945338cfb4207d5a9a9dbcb0 /lib/kotext/KoTextFormatter.cpp | |
| parent | 10a82ab583d7608cd9efd5fe1e76700c9d06b4c2 (diff) | |
| download | koffice-dcc4dc7a89e5f5f7fb4217815b892f4b0106d5a0.tar.gz koffice-dcc4dc7a89e5f5f7fb4217815b892f4b0106d5a0.zip | |
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 ); |
