summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_canvas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/kspread_canvas.cpp')
-rw-r--r--kspread/kspread_canvas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kspread/kspread_canvas.cpp b/kspread/kspread_canvas.cpp
index 1154f650..837f6e98 100644
--- a/kspread/kspread_canvas.cpp
+++ b/kspread/kspread_canvas.cpp
@@ -357,7 +357,7 @@ bool Canvas::eventFilter( TQObject *o, TQEvent *e )
{
case TQEvent::KeyPress:
{
- TQKeyEvent * keyev = TQT_TQKEYEVENT(e);
+ TQKeyEvent * keyev = static_cast<TQKeyEvent*>(e);
if ((keyev->key()==Key_Tab) || (keyev->key()==Key_Backtab))
{
keyPressEvent ( keyev );