summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoDocument.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-14 21:19:12 +0900
committerMichele Calgaro <[email protected]>2023-12-15 00:43:41 +0900
commit3aab8aa05b954b80e336517f93463a9b5f50f3d6 (patch)
treebe6bb581b1cb695d388cb4be10282514bb067401 /lib/kofficecore/KoDocument.cpp
parentfb6b4d204d1155fa3a1bc7a128873340db1524f7 (diff)
downloadkoffice-3aab8aa05b954b80e336517f93463a9b5f50f3d6.tar.gz
koffice-3aab8aa05b954b80e336517f93463a9b5f50f3d6.zip
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'lib/kofficecore/KoDocument.cpp')
-rw-r--r--lib/kofficecore/KoDocument.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kofficecore/KoDocument.cpp b/lib/kofficecore/KoDocument.cpp
index 99bd8459..6a6331de 100644
--- a/lib/kofficecore/KoDocument.cpp
+++ b/lib/kofficecore/KoDocument.cpp
@@ -184,7 +184,7 @@ public:
{
TQObject *wid = child( 0, "TQWidget" );
if ( wid )
- TQT_TQWIDGET(wid)->setGeometry( 0, 0, width(), height() );
+ static_cast<TQWidget*>(wid)->setGeometry( 0, 0, width(), height() );
}
virtual void childEvent( TQChildEvent *ev )