Kaydet (Commit) e88ba02a authored tarafından Muhammet Kara's avatar Muhammet Kara Kaydeden (comit) Michael Stahl

tdf#97087 - Give Idles comprehensible and unique names

Change-Id: I435d26c00f48506a3f6bfb22aae156e91636842a
Reviewed-on: https://gerrit.libreoffice.org/23887Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst e943da41
......@@ -461,7 +461,7 @@ short ActualizeProgress::Execute()
{
short nRet;
pIdle = new Idle;
pIdle = new Idle("ActualizeProgressTimeout");
pIdle->SetIdleHdl( LINK( this, ActualizeProgress, TimeoutHdl ) );
pIdle->SetPriority( SchedulerPriority::LOWEST );
pIdle->Start();
......
......@@ -951,7 +951,7 @@ void SvxBackgroundTabPage::ShowSelector()
m_pBtnPosition->SetClickHdl( HDL(RadioClickHdl_Impl) );
// delayed loading via timer (because of UI-Update)
pPageImpl->pLoadIdle = new Idle;
pPageImpl->pLoadIdle = new Idle("DelayedLoad");
pPageImpl->pLoadIdle->SetPriority( SchedulerPriority::LOWEST );
pPageImpl->pLoadIdle->SetIdleHdl(
LINK( this, SvxBackgroundTabPage, LoadIdleHdl_Impl ) );
......
......@@ -772,7 +772,7 @@ void SdDrawDocument::StartOnlineSpelling(bool bForceSpelling)
}
mpOnlineSpellingList->seekShape(0);
mpOnlineSpellingIdle = new Idle();
mpOnlineSpellingIdle = new Idle("OnlineSpelling");
mpOnlineSpellingIdle->SetIdleHdl( LINK(this, SdDrawDocument, OnlineSpellingHdl) );
mpOnlineSpellingIdle->SetPriority(SchedulerPriority::LOWEST);
mpOnlineSpellingIdle->Start();
......
......@@ -1535,7 +1535,7 @@ void SfxCommonTemplateDialog_Impl::Notify(SfxBroadcaster& /*rBC*/, const SfxHint
{
if(!pIdle)
{
pIdle=new Idle;
pIdle=new Idle("SfxCommonTemplate");
pIdle->SetPriority(SchedulerPriority::LOWEST);
pIdle->SetIdleHdl(LINK(this,SfxCommonTemplateDialog_Impl,TimeOut));
}
......
......@@ -1325,7 +1325,7 @@ void PrinterUpdate::update(SalGenericInstance &rInstance)
doUpdate();
else if( ! pPrinterUpdateIdle )
{
pPrinterUpdateIdle = new Idle();
pPrinterUpdateIdle = new Idle("PrinterUpdateTimer");
pPrinterUpdateIdle->SetPriority( SchedulerPriority::LOWEST );
pPrinterUpdateIdle->SetIdleHdl( LINK( nullptr, PrinterUpdate, UpdateTimerHdl ) );
pPrinterUpdateIdle->Start();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment