summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_editors.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/kspread_editors.cpp')
-rw-r--r--kspread/kspread_editors.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kspread/kspread_editors.cpp b/kspread/kspread_editors.cpp
index 4af76159..add8d217 100644
--- a/kspread/kspread_editors.cpp
+++ b/kspread/kspread_editors.cpp
@@ -378,7 +378,7 @@ void FunctionCompletion::itemSelected( const TQString& item )
bool FunctionCompletion::eventFilter( TQObject *obj, TQEvent *ev )
{
- if ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(d->completionPopup) || TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(d->completionListBox) )
+ if ( obj == d->completionPopup || obj == d->completionListBox )
{
if ( ev->type() == TQEvent::KeyPress )
{
@@ -1166,7 +1166,7 @@ void CellEditor::setCursorPosition( int pos )
bool CellEditor::eventFilter( TQObject* o, TQEvent* e )
{
// Only interested in KTextEdit
- if ( TQT_BASE_OBJECT(o) != TQT_BASE_OBJECT(d->textEdit) )
+ if ( o != d->textEdit )
return false;
if ( e->type() == TQEvent::FocusOut )
{