diff options
author | Muhammet Kara <muhammet.kara@pardus.org.tr> | 2016-05-01 08:34:58 +0300 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-05-16 01:06:48 +0000 |
commit | 98505584ba3f324e36800704bbdacc2b7cf0ef71 (patch) | |
tree | 22857e659ef2bd139a443430d43a89eca34118d6 | |
parent | ffb19d826604930dee96fc356597eeac5f0817c1 (diff) |
Give unique, comprehensible names to idles tdf#97087
Timers and idles should have programmer comprehensible, unique names.
Change-Id: Ida131a4e3ddb7f065d876d78dd501fa831d4cf4a
Reviewed-on: https://gerrit.libreoffice.org/24605
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r-- | avmedia/source/framework/soundhandler.cxx | 1 | ||||
-rw-r--r-- | basctl/source/dlged/dlged.cxx | 1 | ||||
-rw-r--r-- | chart2/source/view/charttypes/GL3DBarChart.cxx | 1 | ||||
-rw-r--r-- | cui/source/dialogs/thesdlg.cxx | 1 | ||||
-rw-r--r-- | cui/source/options/optjava.cxx | 1 | ||||
-rw-r--r-- | sc/source/core/tool/chartlis.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/app/scmod.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/formdlg/dwfunctr.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/pagedlg/tphfedit.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/controller/SlsAnimator.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/view/sdview.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/appl/newhelp.cxx | 3 | ||||
-rw-r--r-- | svtools/source/contnr/imivctl1.cxx | 5 | ||||
-rw-r--r-- | svx/source/dialog/fontwork.cxx | 1 | ||||
-rw-r--r-- | svx/source/dialog/graphctl.cxx | 1 | ||||
-rw-r--r-- | svx/source/svdraw/svdibrow.cxx | 1 | ||||
-rw-r--r-- | sw/source/ui/envelp/labfmt.cxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/docvw/srcedtw.cxx | 3 | ||||
-rw-r--r-- | sw/source/uibase/utlui/unotools.cxx | 1 |
19 files changed, 31 insertions, 3 deletions
diff --git a/avmedia/source/framework/soundhandler.cxx b/avmedia/source/framework/soundhandler.cxx index 40c2c76c2521..c86583cb8dcb 100644 --- a/avmedia/source/framework/soundhandler.cxx +++ b/avmedia/source/framework/soundhandler.cxx @@ -145,6 +145,7 @@ SoundHandler::SoundHandler() , ::cppu::OWeakObject ( ) // Init member , m_bError ( false ) + , m_aUpdateIdle ( "avmedia SoundHandler Update" ) { m_aUpdateIdle.SetIdleHdl(LINK(this, SoundHandler, implts_PlayerNotify)); } diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx index a5f254257514..fc4fab087f60 100644 --- a/basctl/source/dlged/dlged.cxx +++ b/basctl/source/dlged/dlged.cxx @@ -196,6 +196,7 @@ DlgEditor::DlgEditor ( ,bGridSnap(true) ,bCreateOK(true) ,bDialogModelChanged(false) + ,aMarkIdle("basctl DlgEditor Mark") ,mnPaintGuard(0) ,m_xDocument( xModel ) { diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx index 497609f66a63..521054adf8de 100644 --- a/chart2/source/view/charttypes/GL3DBarChart.cxx +++ b/chart2/source/view/charttypes/GL3DBarChart.cxx @@ -518,6 +518,7 @@ GL3DBarChart::GL3DBarChart( mnPreSelectBarId(0), miScrollRate(0), mbScrollFlg(false), + maIdle("chart2 view GL3DBarChart"), mbScreenTextNewRender(false), maFPS(OUString("Render FPS: 0")), maDataUpdateFPS(OUString("Data Update FPS: 0")), diff --git a/cui/source/dialogs/thesdlg.cxx b/cui/source/dialogs/thesdlg.cxx index 3c9854f47804..23e5b2cc8647 100644 --- a/cui/source/dialogs/thesdlg.cxx +++ b/cui/source/dialogs/thesdlg.cxx @@ -58,6 +58,7 @@ using namespace ::com::sun::star; LookUpComboBox::LookUpComboBox(vcl::Window *pParent) : ComboBox(pParent, WB_LEFT|WB_DROPDOWN|WB_VCENTER|WB_3DLOOK|WB_TABSTOP) + , m_aModifyIdle("cui LookUpComboBox Modify") , m_pDialog(nullptr) { EnableAutoSize(true); diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx index b7c2dde23360..44f9ccf2e4e5 100644 --- a/cui/source/options/optjava.cxx +++ b/cui/source/options/optjava.cxx @@ -142,6 +142,7 @@ SvxJavaOptionsPage::SvxJavaOptionsPage( vcl::Window* pParent, const SfxItemSet& , m_nInfoSize(0) , m_nParamSize(0) #endif + , m_aResetIdle("cui options SvxJavaOptionsPage Reset") , xDialogListener(new ::svt::DialogClosedListener()) { get(m_pJavaEnableCB, "javaenabled"); diff --git a/sc/source/core/tool/chartlis.cxx b/sc/source/core/tool/chartlis.cxx index c97286cb8fd7..52e761f0e64d 100644 --- a/sc/source/core/tool/chartlis.cxx +++ b/sc/source/core/tool/chartlis.cxx @@ -404,6 +404,7 @@ ScChartHiddenRangeListener::~ScChartHiddenRangeListener() ScChartListenerCollection::ScChartListenerCollection( ScDocument* pDocP ) : meModifiedDuringUpdate( SC_CLCUPDATE_NONE ), + aIdle( "sc ScChartListenerCollection" ), pDoc( pDocP ) { aIdle.SetIdleHdl( LINK( this, ScChartListenerCollection, TimerHdl ) ); @@ -412,6 +413,7 @@ ScChartListenerCollection::ScChartListenerCollection( ScDocument* pDocP ) : ScChartListenerCollection::ScChartListenerCollection( const ScChartListenerCollection& rColl ) : meModifiedDuringUpdate( SC_CLCUPDATE_NONE ), + aIdle( "sc ScChartListenerCollection" ), pDoc( rColl.pDoc ) { aIdle.SetIdleHdl( LINK( this, ScChartListenerCollection, TimerHdl ) ); diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx index 5da434129969..359fb23150d4 100644 --- a/sc/source/ui/app/scmod.cxx +++ b/sc/source/ui/app/scmod.cxx @@ -131,6 +131,8 @@ void ScModule::InitInterface_Impl() ScModule::ScModule( SfxObjectFactory* pFact ) : SfxModule( ResMgr::CreateResMgr( "sc" ), false, pFact, nullptr ), + aIdleTimer("sc ScModule IdleTimer"), + aSpellIdle("sc ScModule SpellIdle"), mpDragData(new ScDragData), mpClipData(new ScClipData), pSelTransfer( nullptr ), diff --git a/sc/source/ui/formdlg/dwfunctr.cxx b/sc/source/ui/formdlg/dwfunctr.cxx index 461914a1a1ab..8a36f6d64ca2 100644 --- a/sc/source/ui/formdlg/dwfunctr.cxx +++ b/sc/source/ui/formdlg/dwfunctr.cxx @@ -56,6 +56,7 @@ ScFunctionWin::ScFunctionWin( SfxBindings* pBindingsP, vcl::Window* pParent, const ResId& rResId ) : vcl::Window(pParent, rResId), rBindings ( *pBindingsP ), + aIdle ( "sc formdlg ScFunctionWin" ), aPrivatSplit ( VclPtr<ScPrivatSplit>::Create( this, ResId( FT_SPLIT, *rResId.GetResMgr() ) ) ), aCatBox ( VclPtr<ListBox>::Create( this, ResId( CB_CAT, *rResId.GetResMgr() ) ) ), aFuncList ( VclPtr<ListBox>::Create( this, ResId( LB_FUNC, *rResId.GetResMgr() ) ) ), diff --git a/sc/source/ui/pagedlg/tphfedit.cxx b/sc/source/ui/pagedlg/tphfedit.cxx index bd592eff4dc2..8bccbccd13be 100644 --- a/sc/source/ui/pagedlg/tphfedit.cxx +++ b/sc/source/ui/pagedlg/tphfedit.cxx @@ -333,7 +333,9 @@ css::uno::Reference< css::accessibility::XAccessible > ScEditWindow::CreateAcces } ScExtIButton::ScExtIButton(vcl::Window* pParent, WinBits nBits ) - : ImageButton(pParent,nBits), pPopupMenu(nullptr) + : ImageButton(pParent,nBits), + aIdle("sc pagedlg ScExtIButton"), + pPopupMenu(nullptr) { nSelected=0; aIdle.SetPriority(SchedulerPriority::LOWEST); diff --git a/sd/source/ui/slidesorter/controller/SlsAnimator.cxx b/sd/source/ui/slidesorter/controller/SlsAnimator.cxx index 6d13918a6e37..a3ad04e42967 100644 --- a/sd/source/ui/slidesorter/controller/SlsAnimator.cxx +++ b/sd/source/ui/slidesorter/controller/SlsAnimator.cxx @@ -60,7 +60,7 @@ public: Animator::Animator (SlideSorter& rSlideSorter) : mrSlideSorter(rSlideSorter), - maIdle(), + maIdle("sd slidesorter controller Animator"), mbIsDisposed(false), maAnimations(), maElapsedTime(), diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx index 969fbc71c99c..c6e44d353d80 100644 --- a/sd/source/ui/view/sdview.cxx +++ b/sd/source/ui/view/sdview.cxx @@ -113,6 +113,8 @@ View::View(SdDrawDocument& rDrawDoc, OutputDevice* pOutDev, mpDropMarker(nullptr), mnDragSrcPgNum(SDRPAGE_NOTFOUND), mnAction(DND_ACTION_NONE), + maDropErrorIdle("sd View DropError"), + maDropInsertFileIdle("sd View DropInsertFile"), mnLockRedrawSmph(0), mbIsDropAllowed(true), maSmartTags(*this), diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx index b7545c3e201c..94b707395a64 100644 --- a/sfx2/source/appl/newhelp.cxx +++ b/sfx2/source/appl/newhelp.cxx @@ -541,6 +541,7 @@ void IndexBox_Impl::SelectExecutableEntry() IndexTabPage_Impl::IndexTabPage_Impl(vcl::Window* pParent, SfxHelpIndexWindow_Impl* _pIdxWin) : HelpTabPage_Impl(pParent, _pIdxWin, "HelpIndexPage", "sfx/ui/helpindexpage.ui") + , aFactoryIdle("sfx2 appl IndexTabPage_Impl Factory") , bIsActivated(false) { get(m_pIndexCB, "terms"); @@ -1405,6 +1406,7 @@ void SfxHelpWindow_Impl::loadHelpContent(const OUString& sHelpURL, bool bAddToHi SfxHelpIndexWindow_Impl::SfxHelpIndexWindow_Impl(SfxHelpWindow_Impl* _pParent) : Window(_pParent, 0) + , aIdle("sfx2 appl SfxHelpIndexWindow_Impl") , aIndexKeywordLink(LINK(this, SfxHelpIndexWindow_Impl, KeywordHdl)) , pParentWin(_pParent) , pCPage(nullptr) @@ -1853,6 +1855,7 @@ SfxHelpTextWindow_Impl::SfxHelpTextWindow_Impl( SfxHelpWindow_Impl* pParent ) : aToolBox ( VclPtr<ToolBox>::Create(this, 0) ), aOnStartupCB ( VclPtr<CheckBox>::Create(this, SfxResId( RID_HELP_ONSTARTUP_BOX )) ), + aSelectIdle ( "sfx2 appl SfxHelpTextWindow_Impl Select" ), aIndexOnImage ( SfxResId( IMG_HELP_TOOLBOX_INDEX_ON ) ), aIndexOffImage ( SfxResId( IMG_HELP_TOOLBOX_INDEX_OFF ) ), aIndexOnText ( SfxResId( STR_HELP_BUTTON_INDEX_ON ).toString() ), diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx index 05c2aa479243..378443339515 100644 --- a/svtools/source/contnr/imivctl1.cxx +++ b/svtools/source/contnr/imivctl1.cxx @@ -94,6 +94,11 @@ SvxIconChoiceCtrl_Impl::SvxIconChoiceCtrl_Impl( aVerSBar( VclPtr<ScrollBar>::Create(pCurView, WB_DRAG | WB_VSCROLL) ), aHorSBar( VclPtr<ScrollBar>::Create(pCurView, WB_DRAG | WB_HSCROLL) ), aScrBarBox( VclPtr<ScrollBarBox>::Create(pCurView) ), + aEditIdle( "svtools contnr SvxIconChoiceCtrl_Impl Edit" ), + aAutoArrangeIdle ( "svtools contnr SvxIconChoiceCtrl_Impl AutoArrange" ), + aDocRectChangedIdle ( "svtools contnr SvxIconChoiceCtrl_Impl DocRectChanged" ), + aVisRectChangedIdle ( "svtools contnr SvxIconChoiceCtrl_Impl VisRectChanged" ), + aCallSelectHdlIdle ( "svtools contnr SvxIconChoiceCtrl_Impl CallSelectHdl" ), aImageSize( 32 * pCurView->GetDPIScaleFactor(), 32 * pCurView->GetDPIScaleFactor()), m_pColumns( nullptr ) { diff --git a/svx/source/dialog/fontwork.cxx b/svx/source/dialog/fontwork.cxx index 77bf6dfd9913..39f33478a35e 100644 --- a/svx/source/dialog/fontwork.cxx +++ b/svx/source/dialog/fontwork.cxx @@ -175,6 +175,7 @@ SvxFontWorkDialog::SvxFontWorkDialog(SfxBindings *pBindinx, vcl::Window* _pParent) : SfxDockingWindow(pBindinx, pCW, _pParent, "DockingFontwork", "svx/ui/dockingfontwork.ui") , rBindings(*pBindinx) + , aInputIdle("SvxFontWorkDialog Input") , nLastStyleTbxId(0) , nLastAdjustTbxId(0) , nLastShadowTbxId(0) diff --git a/svx/source/dialog/graphctl.cxx b/svx/source/dialog/graphctl.cxx index 183338e3121b..8dca9a941530 100644 --- a/svx/source/dialog/graphctl.cxx +++ b/svx/source/dialog/graphctl.cxx @@ -56,6 +56,7 @@ void GraphCtrlUserCall::Changed( const SdrObject& rObj, SdrUserCallType eType, c GraphCtrl::GraphCtrl( vcl::Window* pParent, WinBits nStyle ) : Control ( pParent, nStyle ), + aUpdateIdle ( "svx GraphCtrl Update" ), aMap100 ( MAP_100TH_MM ), nWinStyle ( 0 ), eObjKind ( OBJ_NONE ), diff --git a/svx/source/svdraw/svdibrow.cxx b/svx/source/svdraw/svdibrow.cxx index 6073806daa55..2826441b2fbb 100644 --- a/svx/source/svdraw/svdibrow.cxx +++ b/svx/source/svdraw/svdibrow.cxx @@ -1072,6 +1072,7 @@ void SdrItemBrowserWindow::GetFocus() SdrItemBrowser::SdrItemBrowser(SdrView& rView): SdrItemBrowserWindow(ImpGetViewWin(rView)), + aIdle("svx svdraw SdrItemBrowser"), pView(&rView), bDirty(false) { diff --git a/sw/source/ui/envelp/labfmt.cxx b/sw/source/ui/envelp/labfmt.cxx index f5b0a9393efd..b1aa3308bada 100644 --- a/sw/source/ui/envelp/labfmt.cxx +++ b/sw/source/ui/envelp/labfmt.cxx @@ -294,6 +294,7 @@ void SwLabPreview::UpdateItem(const SwLabItem& rItem) SwLabFormatPage::SwLabFormatPage(vcl::Window* pParent, const SfxItemSet& rSet) : SfxTabPage(pParent, "LabelFormatPage", "modules/swriter/ui/labelformatpage.ui", &rSet) + , aPreviewIdle("SwLabFormatPage Preview") , bModified(false) , aItem(static_cast<const SwLabItem&>( rSet.Get(FN_LABEL) )) { diff --git a/sw/source/uibase/docvw/srcedtw.cxx b/sw/source/uibase/docvw/srcedtw.cxx index f5784b87e3ba..4bce8bc7ec66 100644 --- a/sw/source/uibase/docvw/srcedtw.cxx +++ b/sw/source/uibase/docvw/srcedtw.cxx @@ -250,7 +250,8 @@ SwSrcEditWindow::SwSrcEditWindow( vcl::Window* pParent, SwSrcView* pParentView ) nStartLine(USHRT_MAX), eSourceEncoding(osl_getThreadTextEncoding()), bDoSyntaxHighlight(true), - bHighlighting(false) + bHighlighting(false), + aSyntaxIdle("sw uibase SwSrcEditWindow Syntax") { SetHelpId(HID_SOURCE_EDITWIN); CreateTextEngine(); diff --git a/sw/source/uibase/utlui/unotools.cxx b/sw/source/uibase/utlui/unotools.cxx index c7ce30c7b8bb..da7512c57687 100644 --- a/sw/source/uibase/utlui/unotools.cxx +++ b/sw/source/uibase/utlui/unotools.cxx @@ -67,6 +67,7 @@ SwOneExampleFrame::SwOneExampleFrame( vcl::Window& rWin, const Link<SwOneExampleFrame&,void>* pInitializedLink, const OUString* pURL ) : aTopWindow(VclPtr<SwFrameCtrlWindow>::Create(&rWin, this)), + aLoadedIdle("sw uibase SwOneExampleFrame Loaded"), aMenuRes(SW_RES(RES_FRMEX_MENU)), pModuleView(SW_MOD()->GetView()), nStyleFlags(nFlags), |