[Libreoffice-commits] core.git: cui/source sd/source sfx2/source vcl/unx

Muhammet Kara muhammet.kara at pardus.org.tr
Thu Apr 7 20:49:22 UTC 2016


 cui/source/dialogs/cuigaldlg.cxx    |    2 +-
 cui/source/tabpages/backgrnd.cxx    |    2 +-
 sd/source/core/drawdoc4.cxx         |    2 +-
 sfx2/source/dialog/templdlg.cxx     |    2 +-
 vcl/unx/generic/print/genprnpsp.cxx |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit e88ba02a70c3f2279ed7ceefeb94f843537bcf8e
Author: Muhammet Kara <muhammet.kara at pardus.org.tr>
Date:   Thu Apr 7 11:02:03 2016 +0300

    tdf#97087 - Give Idles comprehensible and unique names
    
    Change-Id: I435d26c00f48506a3f6bfb22aae156e91636842a
    Reviewed-on: https://gerrit.libreoffice.org/23887
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Michael Stahl <mstahl at redhat.com>

diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx
index a2abaad..92d5423 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 6504b11..2256096 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 f02acee..e476ef3 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 86af63d..9bc9d6f 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 45e3e16..d9799f2 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();


More information about the Libreoffice-commits mailing list