diff options
Diffstat (limited to 'kspread/dialogs/kspread_dlg_paperlayout.cpp')
-rw-r--r-- | kspread/dialogs/kspread_dlg_paperlayout.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kspread/dialogs/kspread_dlg_paperlayout.cpp b/kspread/dialogs/kspread_dlg_paperlayout.cpp index 3305963e..bdd65a26 100644 --- a/kspread/dialogs/kspread_dlg_paperlayout.cpp +++ b/kspread/dialogs/kspread_dlg_paperlayout.cpp @@ -538,11 +538,11 @@ void PaperLayout::slotCancel() bool PaperLayout::eventFilter( TQObject* obj, TQEvent* ev ) { - if ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(ePrintRange) && ev->type() == TQEvent::FocusIn ) + if ( obj == ePrintRange && ev->type() == TQEvent::FocusIn ) m_focus = ePrintRange; - else if ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(eRepeatCols) && ev->type() == TQEvent::FocusIn ) + else if ( obj == eRepeatCols && ev->type() == TQEvent::FocusIn ) m_focus = eRepeatCols; - else if ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(eRepeatRows) && ev->type() == TQEvent::FocusIn ) + else if ( obj == eRepeatRows && ev->type() == TQEvent::FocusIn ) m_focus = eRepeatRows; else return false; |