sc/source/ui/dbgui/dbnamdlg.cxx | 12 ------------ sc/source/ui/inc/dbnamdlg.hxx | 1 - 2 files changed, 13 deletions(-)
New commits: commit c9067dd0e13a51e70b71c4730e08cd518477a4f3 Author: Tobias Madl <tobias.madl....@gmail.com> Date: Sun Nov 23 10:48:12 2014 +0000 timers: callback useless, remove timer completely. Change-Id: I904a91b38d846841e24149f897962abb429878be Reviewed-on: https://gerrit.libreoffice.org/13062 Reviewed-by: Noel Grandin <noelgran...@gmail.com> Tested-by: Noel Grandin <noelgran...@gmail.com> diff --git a/sc/source/ui/dbgui/dbnamdlg.cxx b/sc/source/ui/dbgui/dbnamdlg.cxx index c46be30..b6910bb 100644 --- a/sc/source/ui/dbgui/dbnamdlg.cxx +++ b/sc/source/ui/dbgui/dbnamdlg.cxx @@ -154,10 +154,6 @@ ScDbNameDlg::ScDbNameDlg(SfxBindings* pB, SfxChildWindow* pCW, vcl::Window* pPar pSaveObj = new DBSaveData( *m_pEdAssign, *m_pBtnHeader, *m_pBtnDoSize, *m_pBtnKeepFmt, *m_pBtnStripData, theCurArea ); Init(); - - SynFocusTimer.SetTimeout(150); - SynFocusTimer.SetTimeoutHdl(LINK( this, ScDbNameDlg, FocusToComoboxHdl)); - SynFocusTimer.Start(); } ScDbNameDlg::~ScDbNameDlg() @@ -635,12 +631,4 @@ IMPL_LINK_NOARG(ScDbNameDlg, AssModifyHdl) return 0; } -IMPL_LINK( ScDbNameDlg, FocusToComoboxHdl, Timer*, pTi) -{ - (void)pTi; - // CallEventListeners is still protected - figure out if we need to make it public, or if the focus stuff can be handled better in VCL directly. First see what AT is expecting... - // aEdName.CallEventListeners( VCLEVENT_CONTROL_GETFOCUS ); - return 0; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/dbnamdlg.hxx b/sc/source/ui/inc/dbnamdlg.hxx index ae2fdda..6b6d683 100644 --- a/sc/source/ui/inc/dbnamdlg.hxx +++ b/sc/source/ui/inc/dbnamdlg.hxx @@ -82,7 +82,6 @@ private: ScDBCollection aLocalDbCol; ScRange theCurArea; std::vector<ScRange> aRemoveList; - Timer SynFocusTimer; DECL_LINK( FocusToComoboxHdl, Timer* ); private: _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits