summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@pardus.org.tr>2016-04-07 11:02:03 +0300
committerMichael Stahl <mstahl@redhat.com>2016-04-07 20:48:56 +0000
commite88ba02a70c3f2279ed7ceefeb94f843537bcf8e (patch)
tree59b5a7828af8cfcf4ba0e934b2e066d839e58cbe
parente943da4189e829c7b65b6d171bd6d16ca5e0b425 (diff)
tdf#97087 - Give Idles comprehensible and unique names
Change-Id: I435d26c00f48506a3f6bfb22aae156e91636842a Reviewed-on: https://gerrit.libreoffice.org/23887 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r--cui/source/dialogs/cuigaldlg.cxx2
-rw-r--r--cui/source/tabpages/backgrnd.cxx2
-rw-r--r--sd/source/core/drawdoc4.cxx2
-rw-r--r--sfx2/source/dialog/templdlg.cxx2
-rw-r--r--vcl/unx/generic/print/genprnpsp.cxx2
5 files changed, 5 insertions, 5 deletions
diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx
index a2abaaddcbce..92d542389383 100644
--- a/cui/source/dialogs/cuigaldlg.cxx
+++ b/cui/source/dialogs/cuigaldlg.cxx
@@ -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();
diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx
index 6504b11da2ac..2256096cd2bc 100644
--- a/cui/source/tabpages/backgrnd.cxx
+++ b/cui/source/tabpages/backgrnd.cxx
@@ -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 ) );
diff --git a/sd/source/core/drawdoc4.cxx b/sd/source/core/drawdoc4.cxx
index f02acee3a766..e476ef3ed814 100644
--- a/sd/source/core/drawdoc4.cxx
+++ b/sd/source/core/drawdoc4.cxx
@@ -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();
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index 86af63d112c3..9bc9d6f6e630 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -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));
}
diff --git a/vcl/unx/generic/print/genprnpsp.cxx b/vcl/unx/generic/print/genprnpsp.cxx
index 45e3e16fa40e..d9799f279bf0 100644
--- a/vcl/unx/generic/print/genprnpsp.cxx
+++ b/vcl/unx/generic/print/genprnpsp.cxx
@@ -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();