From 849a2471bd649b252648fa4e43be91dab4d9bdc5 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 8 Feb 2012 09:12:05 +0000 Subject: update unused list --- dbaccess/source/ui/tabledesign/TableDesignView.cxx | 23 ---------------------- 1 file changed, 23 deletions(-) (limited to 'dbaccess/source/ui/tabledesign/TableDesignView.cxx') diff --git a/dbaccess/source/ui/tabledesign/TableDesignView.cxx b/dbaccess/source/ui/tabledesign/TableDesignView.cxx index fd1a745f573d..ee0c8d505b06 100644 --- a/dbaccess/source/ui/tabledesign/TableDesignView.cxx +++ b/dbaccess/source/ui/tabledesign/TableDesignView.cxx @@ -255,29 +255,6 @@ void OTableDesignView::resizeDocumentView(Rectangle& _rPlayground) _rPlayground.SetSize( Size( 0, 0 ) ); } -//------------------------------------------------------------------------------ -IMPL_LINK( OTableDesignView, SwitchHdl, Accelerator*, /*pAcc*/ ) -{ - if( getController().isReadOnly() ) - return 0; - - if( GetDescWin()->HasChildPathFocus() ) - { - GetDescWin()->LoseFocus(); - GetEditorCtrl()->GrabFocus(); - } - else - { - ::boost::shared_ptr pRow = (*GetEditorCtrl()->GetRowList())[GetEditorCtrl()->GetCurRow()]; - OFieldDescription* pFieldDescr = pRow ? pRow->GetActFieldDescr() : NULL; - if ( pFieldDescr ) - GetDescWin()->GrabFocus(); - else - GetEditorCtrl()->GrabFocus(); - } - - return 0; -} //------------------------------------------------------------------------------ long OTableDesignView::PreNotify( NotifyEvent& rNEvt ) { -- cgit