summaryrefslogtreecommitdiffstats
path: root/chalk/plugins
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-08 12:19:03 +0900
committerMichele Calgaro <[email protected]>2023-08-08 17:48:04 +0900
commit64574118b7f71db7cb0a7f513a824dd51185b632 (patch)
tree5bb277ee150a1aff31b86275c05d452dcde07572 /chalk/plugins
parentc9fc87afcc603daf741f74d06301257ed2edc7c0 (diff)
downloadkoffice-64574118b7f71db7cb0a7f513a824dd51185b632.tar.gz
koffice-64574118b7f71db7cb0a7f513a824dd51185b632.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit ca88704c3e4a4fd5ddc9e96e4ccf22b53816e03d)
Diffstat (limited to 'chalk/plugins')
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_text.cpp b/chalk/plugins/tools/defaulttools/kis_tool_text.cpp
index 1a2687f1..d1727f39 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_text.cpp
+++ b/chalk/plugins/tools/defaulttools/kis_tool_text.cpp
@@ -101,7 +101,7 @@ void KisToolText::buttonRelease(KisButtonReleaseEvent *e)
}
TQFontMetrics metrics(m_font);
- TQRect boundingRect = TQT_TQRECT_OBJECT(metrics.boundingRect(text)).normalize();
+ TQRect boundingRect = metrics.boundingRect(text).normalize();
int xB = - boundingRect.x();
int yB = - boundingRect.y();