summaryrefslogtreecommitdiffstats
path: root/chalk/core/kis_boundary.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-24 10:47:46 +0900
committerMichele Calgaro <[email protected]>2023-11-24 22:32:24 +0900
commitf9893e5b16c7694da25e60805fe751691e127e85 (patch)
tree2b204fdab8798eaed0346d1b24bb646c6c89085c /chalk/core/kis_boundary.cpp
parent8263fdf7603821cad365e436ab78557f40a9e9db (diff)
downloadkoffice-f9893e5b16c7694da25e60805fe751691e127e85.tar.gz
koffice-f9893e5b16c7694da25e60805fe751691e127e85.zip
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit dcc4dc7a89e5f5f7fb4217815b892f4b0106d5a0)
Diffstat (limited to 'chalk/core/kis_boundary.cpp')
-rw-r--r--chalk/core/kis_boundary.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/chalk/core/kis_boundary.cpp b/chalk/core/kis_boundary.cpp
index a15697a7..b56795b6 100644
--- a/chalk/core/kis_boundary.cpp
+++ b/chalk/core/kis_boundary.cpp
@@ -52,7 +52,7 @@ void KisBoundary::generateBoundary(int w, int h) {
darkBot = cs->getAlpha(botIt.rawData());
if (darkTop != darkBot) {
// detected a change
- m_horSegments.back().append(tqMakePair(KisPoint(botIt.x(), botIt.y()), 1));
+ m_horSegments.back().append(qMakePair(KisPoint(botIt.x(), botIt.y()), 1));
}
++topIt;
++botIt;
@@ -73,7 +73,7 @@ void KisBoundary::generateBoundary(int w, int h) {
darkRight = cs->getAlpha(rightIt.rawData());
if (darkLeft != darkRight) {
// detected a change
- m_vertSegments.back().append(tqMakePair(KisPoint(rightIt.x(), rightIt.y()), 1));
+ m_vertSegments.back().append(qMakePair(KisPoint(rightIt.x(), rightIt.y()), 1));
}
++leftIt;
++rightIt;