diff options
author | Tobias Madl <tobias.madl.dev@gmail.com> | 2014-11-23 10:48:12 +0000 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-11-24 06:24:53 +0000 |
commit | c9067dd0e13a51e70b71c4730e08cd518477a4f3 (patch) | |
tree | 985635044351da9bcddf44397d5be7a6a7dfd63f | |
parent | 8028b428d35f124aaaf02491b95d08a5713e8b34 (diff) |
timers: callback useless, remove timer completely.
Change-Id: I904a91b38d846841e24149f897962abb429878be
Reviewed-on: https://gerrit.libreoffice.org/13062
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
-rw-r--r-- | sc/source/ui/dbgui/dbnamdlg.cxx | 12 | ||||
-rw-r--r-- | sc/source/ui/inc/dbnamdlg.hxx | 1 |
2 files changed, 0 insertions, 13 deletions
diff --git a/sc/source/ui/dbgui/dbnamdlg.cxx b/sc/source/ui/dbgui/dbnamdlg.cxx index c46be30d3661..b6910bbaf299 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 ae2fdda42293..6b6d68384a0a 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: |