diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-14 21:19:12 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-15 00:43:41 +0900 |
commit | 3aab8aa05b954b80e336517f93463a9b5f50f3d6 (patch) | |
tree | be6bb581b1cb695d388cb4be10282514bb067401 /kexi/formeditor/utils.h | |
parent | fb6b4d204d1155fa3a1bc7a128873340db1524f7 (diff) | |
download | koffice-3aab8aa05b954b80e336517f93463a9b5f50f3d6.tar.gz koffice-3aab8aa05b954b80e336517f93463a9b5f50f3d6.zip |
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kexi/formeditor/utils.h')
-rw-r--r-- | kexi/formeditor/utils.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/formeditor/utils.h b/kexi/formeditor/utils.h index d42a891f..1f325265 100644 --- a/kexi/formeditor/utils.h +++ b/kexi/formeditor/utils.h @@ -41,10 +41,10 @@ type* findParent(TQObject* o, const char* className, TQObject* &prevPrev) { if (!o || !className || className[0]=='\0') return 0; - TQObject *prev = TQT_TQOBJECT(o); - while ( ((o=TQT_TQOBJECT(o)->parent())) && !TQT_TQOBJECT(o)->inherits(className) ) { + TQObject *prev = o; + while ( ((o=o->parent())) && !o->inherits(className) ) { prevPrev = prev; - prev = TQT_TQOBJECT(o); + prev = o; } return static_cast<type*>(o); } |