diff options
author | Jennifer Liebel <jliebel94@gmail.com> | 2014-11-05 09:08:02 +0000 |
---|---|---|
committer | Tobias Madl <tobias.madl.dev@gmail.com> | 2014-12-09 12:34:50 +0000 |
commit | 19b7dc3b1ef8b77d509f46dca96fb0f797abe38c (patch) | |
tree | bf1d9210efc35eeda733e2cb964852778bd30c6d /svx | |
parent | 379f61127e9851e91197007c706c24f479da2b38 (diff) |
changed timers to idles
Change-Id: Iebde351b3bfca907a7730b7af379efb040cbeae2
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/svdibrow.hxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdibrow.cxx | 8 | ||||
-rw-r--r-- | svx/source/svdraw/svdpntv.cxx | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/svx/inc/svdibrow.hxx b/svx/inc/svdibrow.hxx index f4c4a0f85bf7..c2a032c9d5ab 100644 --- a/svx/inc/svdibrow.hxx +++ b/svx/inc/svdibrow.hxx @@ -114,7 +114,7 @@ public: class SdrView; class SdrItemBrowser: public _SdrItemBrowserWindow { - Idle aIdleTimer; + Idle aIdle; SdrView* pView; bool bDirty; private: diff --git a/svx/source/svdraw/svdibrow.cxx b/svx/source/svdraw/svdibrow.cxx index 18195215abd7..22f1733aaa4e 100644 --- a/svx/source/svdraw/svdibrow.cxx +++ b/svx/source/svdraw/svdibrow.cxx @@ -1074,7 +1074,7 @@ SdrItemBrowser::SdrItemBrowser(SdrView& rView): pView(&rView), bDirty(false) { - aIdleTimer.SetTimeoutHdl(LINK(this,SdrItemBrowser,IdleHdl)); + aIdle.SetIdleHdl(LINK(this,SdrItemBrowser,IdleHdl)); GetBrowserControl().SetEntryChangedHdl(LINK(this,SdrItemBrowser,ChangedHdl)); GetBrowserControl().SetSetDirtyHdl(LINK(this,SdrItemBrowser,SetDirtyHdl)); SetDirty(); @@ -1107,14 +1107,14 @@ void SdrItemBrowser::SetDirty() { if (!bDirty) { bDirty = true; - aIdleTimer.SetPriority(VCL_IDLE_PRIORITY_HIGH); - aIdleTimer.Start(); + aIdle.SetPriority(VCL_IDLE_PRIORITY_HIGH); + aIdle.Start(); } } void SdrItemBrowser::Undirty() { - aIdleTimer.Stop(); + aIdle.Stop(); bDirty = false; SfxItemSet aSet(pView->GetModel()->GetItemPool()); diff --git a/svx/source/svdraw/svdpntv.cxx b/svx/source/svdraw/svdpntv.cxx index f48611f961ae..5e69118fe440 100644 --- a/svx/source/svdraw/svdpntv.cxx +++ b/svx/source/svdraw/svdpntv.cxx @@ -191,7 +191,7 @@ void SdrPaintView::ImpClearVars() bSomeObjChgdFlag=false; nGraphicManagerDrawMode = GRFMGR_DRAW_STANDARD; aComeBackIdle.SetPriority(VCL_IDLE_PRIORITY_HIGH); - aComeBackIdle.SetTimeoutHdl(LINK(this,SdrPaintView,ImpComeBackHdl)); + aComeBackIdle.SetIdleHdl(LINK(this,SdrPaintView,ImpComeBackHdl)); if (pMod) SetDefaultStyleSheet(pMod->GetDefaultStyleSheet(), true); |