basctl/source/basicide/baside2b.cxx | 2 basctl/source/dlged/dlgedfunc.cxx | 2 basic/source/runtime/methods1.cxx | 2 chart2/inc/ChartView.hxx | 2 chart2/source/controller/dialogs/DataBrowser.cxx | 3 - chart2/source/controller/dialogs/TimerTriggeredControllerLock.cxx | 1 chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx | 2 chart2/source/controller/main/ChartController.cxx | 1 cui/source/customize/acccfg.cxx | 5 - cui/source/customize/cfg.cxx | 3 - cui/source/dialogs/AdditionsDialog.cxx | 3 - cui/source/dialogs/cuigaldlg.cxx | 1 cui/source/dialogs/cuigrfflt.cxx | 1 cui/source/dialogs/hltpbase.cxx | 1 cui/source/tabpages/chardlg.cxx | 2 cui/source/tabpages/macroass.cxx | 3 - cui/source/tabpages/numpages.cxx | 1 dbaccess/source/ui/browser/brwctrlr.cxx | 2 dbaccess/source/ui/control/dbtreelistbox.cxx | 1 dbaccess/source/ui/control/sqledit.cxx | 3 - dbaccess/source/ui/dlg/paramdialog.cxx | 1 dbaccess/source/ui/querydesign/JoinTableView.cxx | 1 dbaccess/source/ui/querydesign/QueryTextView.cxx | 2 dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx | 1 dbaccess/source/ui/tabledesign/TEditControl.cxx | 3 - desktop/source/app/app.cxx | 4 - desktop/source/deployment/gui/dp_gui_dialog2.cxx | 4 - desktop/source/deployment/gui/license_dialog.cxx | 2 drawinglayer/source/processor2d/vclhelperbufferdevice.cxx | 3 - editeng/source/editeng/impedit2.cxx | 5 - editeng/source/editeng/impedit5.cxx | 1 extensions/source/bibliography/toolbar.cxx | 1 forms/source/component/ListBox.cxx | 1 fpicker/source/office/autocmpledit.cxx | 2 fpicker/source/office/fileview.cxx | 2 fpicker/source/office/iodlgimp.cxx | 1 framework/source/layoutmanager/layoutmanager.cxx | 2 framework/source/services/autorecovery.cxx | 3 - framework/source/uielement/menubarmanager.cxx | 2 framework/source/uielement/toolbarmanager.cxx | 3 - include/vcl/dockwin.hxx | 8 +- include/vcl/idle.hxx | 2 include/vcl/syswin.hxx | 10 --- include/vcl/task.hxx | 1 include/vcl/timer.hxx | 4 - linguistic/source/lngsvcmgr.cxx | 1 reportdesign/source/ui/report/dlgedfunc.cxx | 1 sc/source/core/tool/chartlis.cxx | 3 - sc/source/core/tool/chartlock.cxx | 2 sc/source/core/tool/refreshtimer.cxx | 4 - sc/source/filter/oox/workbookfragment.cxx | 2 sc/source/ui/cctrl/checklistmenu.cxx | 3 - sc/source/ui/dbgui/csvtablebox.cxx | 1 sc/source/ui/dbgui/tpsort.cxx | 2 sc/source/ui/docshell/datastream.cxx | 1 sc/source/ui/docshell/externalrefmgr.cxx | 4 - sc/source/ui/drawfunc/fupoor.cxx | 2 sc/source/ui/miscdlgs/acredlin.cxx | 3 - sc/source/ui/miscdlgs/conflictsdlg.cxx | 3 - sc/source/ui/miscdlgs/dataproviderdlg.cxx | 1 sc/source/ui/miscdlgs/instbdlg.cxx | 1 sc/source/ui/navipi/navipi.cxx | 1 sc/source/ui/view/gridwin.cxx | 1 sc/source/ui/view/notemark.cxx | 1 sc/source/ui/view/tabview.cxx | 1 sd/source/core/CustomAnimationEffect.cxx | 2 sd/source/ui/animations/CustomAnimationPane.cxx | 1 sd/source/ui/animations/SlideTransitionPane.cxx | 3 - sd/source/ui/dlg/BulletAndPositionDlg.cxx | 1 sd/source/ui/dlg/brkdlg.cxx | 2 sd/source/ui/dlg/filedlg.cxx | 2 sd/source/ui/framework/configuration/ConfigurationUpdater.cxx | 2 sd/source/ui/func/fupoor.cxx | 3 + sd/source/ui/remotecontrol/ImagePreparer.cxx | 3 - sd/source/ui/remotecontrol/Receiver.cxx | 2 sd/source/ui/sidebar/MasterPageContainerQueue.cxx | 1 sd/source/ui/slideshow/showwin.cxx | 2 sd/source/ui/slideshow/slideshowimpl.cxx | 6 +- sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx | 2 sd/source/ui/slidesorter/cache/SlsCacheConfiguration.cxx | 2 sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx | 4 - sd/source/ui/slidesorter/controller/SlsCurrentSlideManager.cxx | 3 - sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx | 1 sd/source/ui/slidesorter/view/SlsToolTip.cxx | 6 +- sd/source/ui/tools/AsynchronousCall.cxx | 1 sd/source/ui/tools/TimerBasedTaskExecution.cxx | 1 sd/source/ui/view/ViewShellImplementation.cxx | 3 - sfx2/source/appl/appcfg.cxx | 3 - sfx2/source/appl/linksrc.cxx | 2 sfx2/source/appl/newhelp.cxx | 1 sfx2/source/appl/openuriexternally.cxx | 3 - sfx2/source/control/bindings.cxx | 3 - sfx2/source/control/dispatch.cxx | 3 - sfx2/source/control/itemdel.cxx | 3 - sfx2/source/dialog/basedlgs.cxx | 2 sfx2/source/dialog/dinfdlg.cxx | 3 - sfx2/source/dialog/dockwin.cxx | 2 sfx2/source/dialog/filedlghelper.cxx | 3 - sfx2/source/dialog/infobar.cxx | 2 sfx2/source/dialog/splitwin.cxx | 1 sfx2/source/doc/new.cxx | 1 sfx2/source/doc/objmisc.cxx | 2 sfx2/source/doc/templatedlg.cxx | 5 - sfx2/source/view/ipclient.cxx | 3 - starmath/source/view.cxx | 2 svtools/source/brwbox/datwin.cxx | 1 svtools/source/control/inettbc.cxx | 4 - svtools/source/control/tabbar.cxx | 2 svtools/source/dialogs/prnsetup.cxx | 1 svx/source/dialog/imapimp.hxx | 3 - svx/source/dialog/srchdlg.cxx | 2 svx/source/form/datanavi.cxx | 2 svx/source/form/fmshimp.cxx | 2 svx/source/form/fmtextcontrolshell.cxx | 1 svx/source/form/formcontroller.cxx | 2 svx/source/form/navigatortree.cxx | 1 svx/source/sdr/animation/scheduler.cxx | 4 - svx/source/sdr/contact/viewobjectcontactofpageobj.cxx | 2 svx/source/sdr/overlay/overlaymanagerbuffered.cxx | 3 - svx/source/stbctrls/modctrl.cxx | 3 - svx/source/svdraw/svdpntv.cxx | 2 svx/source/tbxctrls/formatpaintbrushctrl.cxx | 2 svx/source/tbxctrls/grafctrl.cxx | 1 sw/inc/SwDocIdle.hxx | 2 sw/qa/extras/uiwriter/uiwriter.cxx | 2 sw/source/core/doc/DocumentStatisticsManager.cxx | 11 +-- sw/source/core/doc/DocumentTimerManager.cxx | 3 - sw/source/core/doc/SwDocIdle.cxx | 4 - sw/source/core/doc/docnew.cxx | 2 sw/source/core/doc/htmltbl.cxx | 3 - sw/source/core/txtnode/SwGrammarContact.cxx | 6 +- sw/source/core/unocore/unochart.cxx | 2 sw/source/ui/dbui/mmaddressblockpage.cxx | 1 sw/source/ui/dbui/mmoutputtypepage.cxx | 2 sw/source/ui/index/cnttab.cxx | 1 sw/source/uibase/dbui/dbmgr.cxx | 4 - sw/source/uibase/docvw/HeaderFooterWin.cxx | 3 - sw/source/uibase/docvw/OutlineContentVisibilityWin.cxx | 1 sw/source/uibase/docvw/PageBreakWin.cxx | 1 sw/source/uibase/docvw/edtwin.cxx | 3 + sw/source/uibase/fldui/fldwrap.cxx | 1 sw/source/uibase/misc/redlndlg.cxx | 1 sw/source/uibase/misc/swruler.cxx | 2 sw/source/uibase/uiview/view.cxx | 2 sw/source/uibase/uno/unomailmerge.cxx | 1 sw/source/uibase/utlui/content.cxx | 1 sw/source/uibase/utlui/glbltree.cxx | 1 sw/source/uibase/utlui/gloslst.cxx | 2 sw/source/uibase/utlui/navipi.cxx | 1 vbahelper/source/vbahelper/vbaapplicationbase.cxx | 2 vcl/backendtest/VisualBackendTest.cxx | 1 vcl/inc/toolbox.h | 2 vcl/osx/salinst.cxx | 2 vcl/source/animate/Animation.cxx | 4 + vcl/source/app/help.cxx | 6 +- vcl/source/app/salvtables.cxx | 1 vcl/source/app/scheduler.cxx | 2 vcl/source/app/weldutils.cxx | 1 vcl/source/control/InterimItemWindow.cxx | 2 vcl/source/control/imivctl1.cxx | 12 +--- vcl/source/control/quickselectionengine.cxx | 2 vcl/source/control/roadmapwizard.cxx | 1 vcl/source/control/scrbar.cxx | 3 - vcl/source/control/spinbtn.cxx | 1 vcl/source/control/spinfld.cxx | 2 vcl/source/control/throbber.cxx | 1 vcl/source/edit/textdata.cxx | 3 - vcl/source/edit/texteng.cxx | 1 vcl/source/graphic/Manager.cxx | 1 vcl/source/treelist/svimpbox.cxx | 1 vcl/source/treelist/treelistbox.cxx | 3 - vcl/source/uitest/uno/uiobject_uno.cxx | 6 -- vcl/source/window/bubblewindow.cxx | 4 + vcl/source/window/cursor.cxx | 3 - vcl/source/window/dialog.cxx | 6 +- vcl/source/window/dockmgr.cxx | 4 - vcl/source/window/dockwin.cxx | 29 ++++------ vcl/source/window/floatwin.cxx | 4 - vcl/source/window/menufloatingwindow.cxx | 6 +- vcl/source/window/seleng.cxx | 2 vcl/source/window/splitwin.cxx | 3 - vcl/source/window/syswin.cxx | 4 - vcl/source/window/toolbox.cxx | 5 - vcl/source/window/window.cxx | 4 - vcl/source/window/window2.cxx | 3 - vcl/source/window/wrkwin.cxx | 10 +-- vcl/unx/generic/fontmanager/fontmanager.cxx | 2 vcl/unx/generic/print/prtsetup.cxx | 2 vcl/unx/generic/window/salframe.cxx | 4 - vcl/unx/gtk3/gtkframe.cxx | 2 vcl/unx/gtk3/gtkinst.cxx | 2 vcl/unx/gtk3/gtksalmenu.cxx | 2 vcl/win/window/salframe.cxx | 3 - 193 files changed, 281 insertions(+), 229 deletions(-)
New commits: commit d72511eda923c827a6175bec9b8f24c237f82730 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Tue Sep 28 10:59:43 2021 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Tue Sep 28 19:35:13 2021 +0200 gives names to all the Idles and Tasks enforce it by making the constructor parameter non-default. Change-Id: I321543e4dcf15ea0a43ad8cce91d2f8dc22df6ec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122766 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index aeb49604cc50..52befe373a4f 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -239,6 +239,7 @@ EditorWindow::EditorWindow (vcl::Window* pParent, ModulWindow* pModulWindow) : nCurTextWidth(0), m_nSetSourceInBasicId(nullptr), aHighlighter(HighlighterLanguage::Basic), + aSyntaxIdle( "basctl EditorWindow aSyntaxIdle" ), bHighlighting(false), bDoSyntaxHighlight(true), bDelayHighlight(true), @@ -999,7 +1000,6 @@ void EditorWindow::CreateEditEngine() ImplSetFont(); aSyntaxIdle.SetInvokeHandler( LINK( this, EditorWindow, SyntaxTimerHdl ) ); - aSyntaxIdle.SetDebugName( "basctl EditorWindow aSyntaxIdle" ); bool bWasDoSyntaxHighlight = bDoSyntaxHighlight; bDoSyntaxHighlight = false; // too slow for large texts... diff --git a/basctl/source/dlged/dlgedfunc.cxx b/basctl/source/dlged/dlgedfunc.cxx index 8d666f0694d1..c43b22c8e16a 100644 --- a/basctl/source/dlged/dlgedfunc.cxx +++ b/basctl/source/dlged/dlgedfunc.cxx @@ -77,7 +77,7 @@ void DlgEdFunc::ForceScroll( const Point& rPos ) } DlgEdFunc::DlgEdFunc (DlgEditor& rParent_) : - rParent(rParent_) + rParent(rParent_), aScrollTimer("basctl DlgEdFunc aScrollTimer") { aScrollTimer.SetInvokeHandler( LINK( this, DlgEdFunc, ScrollTimeout ) ); aScrollTimer.SetTimeout( SELENG_AUTOREPEAT_INTERVAL ); diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx index 36595e53ca5e..b554f3f6c94e 100644 --- a/basic/source/runtime/methods1.cxx +++ b/basic/source/runtime/methods1.cxx @@ -573,7 +573,7 @@ void Wait_Impl( bool bDurationBased, SbxArray& rPar ) return; } - Timer aTimer; + Timer aTimer("basic Wait_Impl"); aTimer.SetTimeout( nWait ); aTimer.Start(); while ( aTimer.IsActive() && !Application::IsQuit()) diff --git a/chart2/inc/ChartView.hxx b/chart2/inc/ChartView.hxx index 2634288daed7..2830e89309f8 100644 --- a/chart2/inc/ChartView.hxx +++ b/chart2/inc/ChartView.hxx @@ -64,7 +64,7 @@ struct TimeBasedInfo bool bTimeBased; size_t nFrame; - Timer maTimer; + Timer maTimer { "chart2 TimeBasedInfo" }; // only valid when we are in the time based mode std::vector< std::vector< VDataSeries* > > m_aDataSeriesList; diff --git a/chart2/source/controller/dialogs/DataBrowser.cxx b/chart2/source/controller/dialogs/DataBrowser.cxx index 828bc883b2d3..82fa296222da 100644 --- a/chart2/source/controller/dialogs/DataBrowser.cxx +++ b/chart2/source/controller/dialogs/DataBrowser.cxx @@ -231,7 +231,7 @@ private: }; SeriesHeader::SeriesHeader(weld::Container* pParent, weld::Container* pColorParent) - : m_aUpdateDataTimer("UpdateDataTimer") + : m_aUpdateDataTimer( "SeriesHeader UpdateDataTimer" ) , m_xBuilder1(Application::CreateBuilder(pParent, "modules/schart/ui/columnfragment.ui")) , m_xBuilder2(Application::CreateBuilder(pColorParent, "modules/schart/ui/imagefragment.ui")) , m_pParent(pParent) @@ -248,7 +248,6 @@ SeriesHeader::SeriesHeader(weld::Container* pParent, weld::Container* pColorPare , m_bSeriesNameChangePending( false ) { m_aUpdateDataTimer.SetInvokeHandler(LINK(this, SeriesHeader, ImplUpdateDataHdl)); - m_aUpdateDataTimer.SetDebugName( "SeriesHeader UpdateDataTimer" ); m_aUpdateDataTimer.SetTimeout(4 * EDIT_UPDATEDATA_TIMEOUT); m_spSeriesName->SetModifyHdl(LINK(this, SeriesHeader, SeriesNameEdited)); diff --git a/chart2/source/controller/dialogs/TimerTriggeredControllerLock.cxx b/chart2/source/controller/dialogs/TimerTriggeredControllerLock.cxx index f64fc6fa11ff..554628317890 100644 --- a/chart2/source/controller/dialogs/TimerTriggeredControllerLock.cxx +++ b/chart2/source/controller/dialogs/TimerTriggeredControllerLock.cxx @@ -28,6 +28,7 @@ using namespace ::com::sun::star; TimerTriggeredControllerLock::TimerTriggeredControllerLock( const uno::Reference<frame::XModel>& xModel) : m_xModel(xModel) + , m_aTimer("chart2 TimerTriggeredControllerLock") { m_aTimer.SetTimeout(4 * EDIT_UPDATEDATA_TIMEOUT); m_aTimer.SetInvokeHandler(LINK(this, TimerTriggeredControllerLock, TimerTimeout)); diff --git a/chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx b/chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx index fca47ad13d45..3a76aa57f6dd 100644 --- a/chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx +++ b/chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx @@ -47,6 +47,8 @@ ThreeD_SceneGeometry_TabPage::ThreeD_SceneGeometry_TabPage(weld::Container* pPar const uno::Reference< beans::XPropertySet > & xSceneProperties, ControllerLockHelper & rControllerLockHelper) : m_xSceneProperties( xSceneProperties ) + , m_aAngleTimer("chart2 ThreeD_SceneGeometry_TabPage m_aAngleTimer") + , m_aPerspectiveTimer("chart2 ThreeD_SceneGeometry_TabPage m_aPerspectiveTimer") , m_nXRotation(0) , m_nYRotation(0) , m_nZRotation(0) diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx index 5ae751ad96b0..e8551ba211d9 100644 --- a/chart2/source/controller/main/ChartController.cxx +++ b/chart2/source/controller/main/ChartController.cxx @@ -102,6 +102,7 @@ ChartController::ChartController(uno::Reference<uno::XComponentContext> const & m_xCC(xContext), m_aModel( nullptr, m_aModelMutex ), m_eDragMode(SdrDragMode::Move), + m_aDoubleClickTimer("chart2 ChartController m_aDoubleClickTimer"), m_bWaitingForDoubleClick(false), m_bWaitingForMouseUp(false), m_bFieldButtonDown(false), diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx index 98f965a6ce9e..dbe8eff7c832 100644 --- a/cui/source/customize/acccfg.cxx +++ b/cui/source/customize/acccfg.cxx @@ -834,7 +834,8 @@ SfxAcceleratorConfigPage::SfxAcceleratorConfigPage(weld::Container* pPage, , aFilterAllStr(SfxResId(STR_SFX_FILTERNAME_ALL)) , aFilterCfgStr(CuiResId(RID_SVXSTR_FILTERNAME_CFG)) , m_bStylesInfoInitialized(false) - , m_aUpdateDataTimer("UpdateDataTimer") + , m_aUpdateDataTimer("SfxAcceleratorConfigPage UpdateDataTimer") + , m_aFillGroupIdle("SfxAcceleratorConfigPage m_aFillGroupIdle") , m_xEntriesBox(m_xBuilder->weld_tree_view("shortcuts")) , m_xOfficeButton(m_xBuilder->weld_radio_button("office")) , m_xModuleButton(m_xBuilder->weld_radio_button("module")) @@ -904,12 +905,10 @@ SfxAcceleratorConfigPage::SfxAcceleratorConfigPage(weld::Container* pPage, m_xKeyBox->make_sorted(); m_aUpdateDataTimer.SetInvokeHandler(LINK(this, SfxAcceleratorConfigPage, ImplUpdateDataHdl)); - m_aUpdateDataTimer.SetDebugName("SfxAcceleratorConfigPage UpdateDataTimer"); m_aUpdateDataTimer.SetTimeout(EDIT_UPDATEDATA_TIMEOUT); m_aFillGroupIdle.SetInvokeHandler(LINK(this, SfxAcceleratorConfigPage, TimeOut_Impl)); m_aFillGroupIdle.SetPriority(TaskPriority::HIGHEST); - m_aFillGroupIdle.SetDebugName("SfxAcceleratorConfigPage m_aFillGroupIdle"); } SfxAcceleratorConfigPage::~SfxAcceleratorConfigPage() diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index 57f6a467bc43..eb7f4ce17c62 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -970,7 +970,7 @@ IMPL_LINK(SvxMenuEntriesListBox, KeyInputHdl, const KeyEvent&, rKeyEvent, bool) *****************************************************************************/ SvxConfigPage::SvxConfigPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet) : SfxTabPage(pPage, pController, "cui/ui/menuassignpage.ui", "MenuAssignPage", &rSet) - , m_aUpdateDataTimer("UpdateDataTimer") + , m_aUpdateDataTimer( "SvxConfigPage UpdateDataTimer" ) , bInitialised(false) , pCurrentSaveInData(nullptr) , m_xCommandCategoryListBox(new CommandCategoryListBox(m_xBuilder->weld_combo_box("commandcategorylist"))) @@ -1002,7 +1002,6 @@ SvxConfigPage::SvxConfigPage(weld::Container* pPage, weld::DialogController* pCo m_xDescriptionField->set_size_request(aSize.Width(), m_xDescriptionField->get_height_rows(3)); m_aUpdateDataTimer.SetInvokeHandler(LINK(this, SvxConfigPage, ImplUpdateDataHdl)); - m_aUpdateDataTimer.SetDebugName( "SvxConfigPage UpdateDataTimer" ); m_aUpdateDataTimer.SetTimeout(EDIT_UPDATEDATA_TIMEOUT); m_xSearchEdit->connect_changed(LINK(this, SvxConfigPage, SearchUpdateHdl)); diff --git a/cui/source/dialogs/AdditionsDialog.cxx b/cui/source/dialogs/AdditionsDialog.cxx index 5ca2d10051ec..d1a2ee2388cd 100644 --- a/cui/source/dialogs/AdditionsDialog.cxx +++ b/cui/source/dialogs/AdditionsDialog.cxx @@ -451,7 +451,7 @@ void SearchAndParseThread::execute() AdditionsDialog::AdditionsDialog(weld::Window* pParent, const OUString& sAdditionsTag) : GenericDialogController(pParent, "cui/ui/additionsdialog.ui", "AdditionsDialog") - , m_aSearchDataTimer("SearchDataTimer") + , m_aSearchDataTimer("AdditionsDialog SearchDataTimer") , m_xEntrySearch(m_xBuilder->weld_entry("entrySearch")) , m_xButtonClose(m_xBuilder->weld_button("buttonClose")) , m_xMenuButtonSettings(m_xBuilder->weld_menu_button("buttonGear")) @@ -464,7 +464,6 @@ AdditionsDialog::AdditionsDialog(weld::Window* pParent, const OUString& sAdditio m_xGearBtn->set_item_active("gear_sort_voting", true); m_aSearchDataTimer.SetInvokeHandler(LINK(this, AdditionsDialog, ImplUpdateDataHdl)); - m_aSearchDataTimer.SetDebugName("AdditionsDialog SearchDataTimer"); m_aSearchDataTimer.SetTimeout(EDIT_UPDATEDATA_TIMEOUT); m_xEntrySearch->connect_changed(LINK(this, AdditionsDialog, SearchUpdateHdl)); diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx index 6e8e590d107c..1d1c1429399a 100644 --- a/cui/source/dialogs/cuigaldlg.cxx +++ b/cui/source/dialogs/cuigaldlg.cxx @@ -583,6 +583,7 @@ std::unique_ptr<SfxTabPage> TPGalleryThemeGeneral::Create(weld::Container* pPage TPGalleryThemeProperties::TPGalleryThemeProperties(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet) : SfxTabPage(pPage, pController, "cui/ui/galleryfilespage.ui", "GalleryFilesPage", &rSet) , pData(nullptr) + , aPreviewTimer("cui TPGalleryThemeProperties aPreviewTimer") , bEntriesFound(false) , bInputAllowed(true) , bTakeAll(false) diff --git a/cui/source/dialogs/cuigrfflt.cxx b/cui/source/dialogs/cuigrfflt.cxx index 4f86d6e1a186..c67ee92d141c 100644 --- a/cui/source/dialogs/cuigrfflt.cxx +++ b/cui/source/dialogs/cuigrfflt.cxx @@ -127,6 +127,7 @@ GraphicFilterDialog::GraphicFilterDialog(weld::Window* pParent, const OUString& rUIXMLDescription, const OString& rID, const Graphic& rGraphic) : GenericDialogController(pParent, rUIXMLDescription, rID) + , maTimer("cui GraphicFilterDialog maTimer") , maModifyHdl(LINK(this, GraphicFilterDialog, ImplModifyHdl)) , mxPreview(new weld::CustomWeld(*m_xBuilder, "preview", maPreview)) { diff --git a/cui/source/dialogs/hltpbase.cxx b/cui/source/dialogs/hltpbase.cxx index 3f20145aafac..987cf97514a9 100644 --- a/cui/source/dialogs/hltpbase.cxx +++ b/cui/source/dialogs/hltpbase.cxx @@ -118,6 +118,7 @@ SvxHyperlinkTabPageBase::SvxHyperlinkTabPageBase(weld::Container* pParent, , mbIsCloseDisabled( false ) , mpDialog( pDlg ) , mbStdControlsInit( false ) + , maTimer("cui SvxHyperlinkTabPageBase maTimer") { // create bookmark-window } diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx index e75db5fe5183..fef7b46fb537 100644 --- a/cui/source/tabpages/chardlg.cxx +++ b/cui/source/tabpages/chardlg.cxx @@ -170,7 +170,7 @@ void SvxCharBasePage::SetPrevFontEscapement( sal_uInt8 nProp, sal_uInt8 nEscProp struct SvxCharNamePage_Impl { - Idle m_aUpdateIdle; + Idle m_aUpdateIdle { "cui SvxCharNamePage_Impl m_aUpdateIdle" }; OUString m_aNoStyleText; std::unique_ptr<FontList> m_pFontList; int m_nExtraEntryPos; diff --git a/cui/source/tabpages/macroass.cxx b/cui/source/tabpages/macroass.cxx index df3e47bf489b..9d4c176810d2 100644 --- a/cui/source/tabpages/macroass.cxx +++ b/cui/source/tabpages/macroass.cxx @@ -47,7 +47,7 @@ public: std::unique_ptr<weld::Frame> m_xMacroFrame; std::unique_ptr<CuiConfigFunctionListBox> m_xMacroLB; - Idle m_aFillGroupIdle; + Idle m_aFillGroupIdle { "cui SfxMacroTabPage m_aFillGroupIdle" }; bool m_bGotEvents; }; @@ -105,7 +105,6 @@ SfxMacroTabPage::SfxMacroTabPage(weld::Container* pPage, weld::DialogController* mpImpl->m_aFillGroupIdle.SetInvokeHandler( LINK( this, SfxMacroTabPage, TimeOut_Impl ) ); mpImpl->m_aFillGroupIdle.SetPriority( TaskPriority::HIGHEST ); - mpImpl->m_aFillGroupIdle.SetDebugName( "SfxMacroTabPage m_aFillGroupIdle" ); mpImpl->m_xEventLB.reset(new MacroEventListBox(m_xBuilder->weld_tree_view("assignments"))); mpImpl->m_xAssignPB = m_xBuilder->weld_button("assign"); diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx index 59093e572c89..2761d418fa5c 100644 --- a/cui/source/tabpages/numpages.cxx +++ b/cui/source/tabpages/numpages.cxx @@ -1011,6 +1011,7 @@ IMPL_LINK_NOARG(SvxBitmapPickTabPage, ClickAddBrowseHdl_Impl, weld::Button&, voi SvxNumOptionsTabPage::SvxNumOptionsTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet) : SfxTabPage(pPage, pController, "cui/ui/numberingoptionspage.ui", "NumberingOptionsPage", &rSet) + , aInvalidateTimer("cui SvxNumOptionsTabPage aInvalidateTimer") , m_pLevelHdlEvent(nullptr) , bLastWidthModified(false) , bModified(false) diff --git a/dbaccess/source/ui/browser/brwctrlr.cxx b/dbaccess/source/ui/browser/brwctrlr.cxx index e799ab9c30e6..3ae63b6012f4 100644 --- a/dbaccess/source/ui/browser/brwctrlr.cxx +++ b/dbaccess/source/ui/browser/brwctrlr.cxx @@ -525,6 +525,7 @@ Any SAL_CALL SbaXDataBrowserController::queryInterface(const Type& _rType) SbaXDataBrowserController::SbaXDataBrowserController(const Reference< css::uno::XComponentContext >& _rM) :SbaXDataBrowserController_Base(_rM) ,m_nRowSetPrivileges(0) + ,m_aInvalidateClipboard("dbaui::SbaXDataBrowserController m_aInvalidateClipboard") ,m_aAsyncGetCellFocus(LINK(this, SbaXDataBrowserController, OnAsyncGetCellFocus)) ,m_aAsyncDisplayError( LINK( this, SbaXDataBrowserController, OnAsyncDisplayError ) ) ,m_sStateSaveRecord(DBA_RES(RID_STR_SAVE_CURRENT_RECORD)) @@ -542,7 +543,6 @@ SbaXDataBrowserController::SbaXDataBrowserController(const Reference< css::uno:: } osl_atomic_decrement(&m_refCount); - m_aInvalidateClipboard.SetDebugName("dbaui::SbaXDataBrowserController m_aInvalidateClipboard"); m_aInvalidateClipboard.SetInvokeHandler(LINK(this, SbaXDataBrowserController, OnInvalidateClipboard)); m_aInvalidateClipboard.SetTimeout(300); } diff --git a/dbaccess/source/ui/control/dbtreelistbox.cxx b/dbaccess/source/ui/control/dbtreelistbox.cxx index 0935caf8ff5d..55c9d3877389 100644 --- a/dbaccess/source/ui/control/dbtreelistbox.cxx +++ b/dbaccess/source/ui/control/dbtreelistbox.cxx @@ -109,6 +109,7 @@ TreeListBox::TreeListBox(std::unique_ptr<weld::TreeView> xTreeView, bool bSQLTyp , m_aDropTargetHelper(*this) , m_pActionListener(nullptr) , m_pContextMenuProvider(nullptr) + , m_aTimer("dbaccess TreeListBox m_aTimer") { m_xTreeView->connect_key_press(LINK(this, TreeListBox, KeyInputHdl)); m_xTreeView->connect_changed(LINK(this, TreeListBox, SelectHdl)); diff --git a/dbaccess/source/ui/control/sqledit.cxx b/dbaccess/source/ui/control/sqledit.cxx index 0be854655593..f1b7e2add71a 100644 --- a/dbaccess/source/ui/control/sqledit.cxx +++ b/dbaccess/source/ui/control/sqledit.cxx @@ -67,7 +67,8 @@ private: }; SQLEditView::SQLEditView() - : m_aHighlighter(HighlighterLanguage::SQL) + : m_aUpdateDataTimer("dbaccess SQLEditView m_aUpdateDataTimer") + , m_aHighlighter(HighlighterLanguage::SQL) , m_bInUpdate(false) , m_bDisableInternalUndo(false) { diff --git a/dbaccess/source/ui/dlg/paramdialog.cxx b/dbaccess/source/ui/dlg/paramdialog.cxx index a7bd8ae1538f..5bb6024a4b67 100644 --- a/dbaccess/source/ui/dlg/paramdialog.cxx +++ b/dbaccess/source/ui/dlg/paramdialog.cxx @@ -50,6 +50,7 @@ namespace dbaui , m_nCurrentlySelected(-1) , m_xConnection(_rxConnection) , m_aPredicateInput( rxContext, _rxConnection, getParseContext() ) + , m_aResetVisitFlag("dbaccess OParameterDialog m_aResetVisitFlag") , m_xAllParams(m_xBuilder->weld_tree_view("allParamTreeview")) , m_xParam(m_xBuilder->weld_entry("paramEntry")) , m_xTravelNext(m_xBuilder->weld_button("next")) diff --git a/dbaccess/source/ui/querydesign/JoinTableView.cxx b/dbaccess/source/ui/querydesign/JoinTableView.cxx index 5d0bd23534ae..b28ea923ebf2 100644 --- a/dbaccess/source/ui/querydesign/JoinTableView.cxx +++ b/dbaccess/source/ui/querydesign/JoinTableView.cxx @@ -162,6 +162,7 @@ void OScrollWindowHelper::Resize() OJoinTableView::OJoinTableView( vcl::Window* pParent, OJoinDesignView* pView ) :Window( pParent,WB_BORDER ) ,DropTargetHelper(this) + ,m_aDragScrollIdle("dbaccess OJoinTableView m_aDragScrollIdle") ,m_aDragOffset( Point(0,0) ) ,m_aScrollOffset( Point(0,0) ) ,m_pDragWin( nullptr ) diff --git a/dbaccess/source/ui/querydesign/QueryTextView.cxx b/dbaccess/source/ui/querydesign/QueryTextView.cxx index 4af5a1c591a8..f67ebbe31ef6 100644 --- a/dbaccess/source/ui/querydesign/QueryTextView.cxx +++ b/dbaccess/source/ui/querydesign/QueryTextView.cxx @@ -35,6 +35,8 @@ OQueryTextView::OQueryTextView(OQueryContainerWindow* pParent, OQueryController& , m_rController(rController) , m_xSQL(new SQLEditView) , m_xSQLEd(new weld::CustomWeld(*m_xBuilder, "sql", *m_xSQL)) + , m_timerUndoActionCreation("dbaccess OQueryTextView m_timerUndoActionCreation") + , m_timerInvalidate("dbaccess OQueryTextView m_timerInvalidate") , m_bStopTimer(false) { m_xSQL->DisableInternalUndo(); diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx index f008ce03a2ba..f1b4d9563962 100644 --- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx +++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx @@ -103,6 +103,7 @@ namespace OSelectionBrowseBox::OSelectionBrowseBox( vcl::Window* pParent ) :EditBrowseBox( pParent,EditBrowseBoxFlags::NO_HANDLE_COLUMN_CONTENT, WB_3DLOOK, BrowserMode::COLUMNSELECTION | BrowserMode::KEEPHIGHLIGHT | BrowserMode::HIDESELECT | BrowserMode::HIDECURSOR | BrowserMode::HLINES | BrowserMode::VLINES ) + ,m_timerInvalidate("dbaccess OSelectionBrowseBox m_timerInvalidate") ,m_nSeekRow(0) ,m_nMaxColumns(0) ,m_aFunctionStrings(DBA_RES(STR_QUERY_FUNCTIONS)) diff --git a/dbaccess/source/ui/tabledesign/TEditControl.cxx b/dbaccess/source/ui/tabledesign/TEditControl.cxx index 8fa367060361..010ce0878c50 100644 --- a/dbaccess/source/ui/tabledesign/TEditControl.cxx +++ b/dbaccess/source/ui/tabledesign/TEditControl.cxx @@ -69,7 +69,8 @@ using namespace ::com::sun::star::sdb; #define MAX_DESCR_LEN 256 OTableEditorCtrl::ClipboardInvalidator::ClipboardInvalidator(OTableEditorCtrl* _pOwner) -: m_pOwner(_pOwner) +: m_aInvalidateTimer("dbaccess ClipboardInvalidator") +, m_pOwner(_pOwner) { m_aInvalidateTimer.SetTimeout(500); diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 4943caa3cac9..bd5476af896d 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -425,10 +425,10 @@ Desktop::Desktop() , m_bServicesRegistered(false) , m_aBootstrapError(BE_OK) , m_aBootstrapStatus(BS_OK) + , m_firstRunTimer( "desktop::Desktop m_firstRunTimer" ) { m_firstRunTimer.SetTimeout(3000); // 3 sec. m_firstRunTimer.SetInvokeHandler(LINK(this, Desktop, AsyncInitFirstRun)); - m_firstRunTimer.SetDebugName( "desktop::Desktop m_firstRunTimer" ); } Desktop::~Desktop() @@ -1877,7 +1877,7 @@ namespace { class ExitTimer : public Timer { public: - ExitTimer() + ExitTimer() : Timer("desktop ExitTimer") { SetTimeout(500); Start(); diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx index 28eec755c563..9e700ff46a93 100644 --- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx +++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx @@ -419,6 +419,7 @@ ExtMgrDialog::ExtMgrDialog(weld::Window *pParent, TheExtensionManager *pManager) , m_bDeleteWarning(false) , m_bClosed(false) , m_nProgress(0) + , m_aIdle( "ExtMgrDialog m_aIdle TimeOutHdl" ) , m_pManager(pManager) , m_xExtensionBox(new ExtBoxWithBtns_Impl(m_xBuilder->weld_scrolled_window("scroll", true))) , m_xExtensionBoxWnd(new weld::CustomWeld(*m_xBuilder, "extensions", *m_xExtensionBox)) @@ -477,7 +478,6 @@ ExtMgrDialog::ExtMgrDialog(weld::Window *pParent, TheExtensionManager *pManager) } m_aIdle.SetPriority(TaskPriority::LOWEST); - m_aIdle.SetDebugName( "ExtMgrDialog m_aIdle TimeOutHdl" ); m_aIdle.SetInvokeHandler( LINK( this, ExtMgrDialog, TimeOutHdl ) ); } @@ -969,6 +969,7 @@ UpdateRequiredDialog::UpdateRequiredDialog(weld::Window *pParent, TheExtensionMa , m_bStopProgress(false) , m_bHasLockedEntries(false) , m_nProgress(0) + , m_aIdle( "UpdateRequiredDialog m_aIdle TimeOutHdl" ) , m_pManager(pManager) , m_xExtensionBox(new ExtensionBox_Impl(m_xBuilder->weld_scrolled_window("scroll", true))) , m_xExtensionBoxWnd(new weld::CustomWeld(*m_xBuilder, "extensions", *m_xExtensionBox)) @@ -995,7 +996,6 @@ UpdateRequiredDialog::UpdateRequiredDialog(weld::Window *pParent, TheExtensionMa m_xCloseBtn->grab_focus(); m_aIdle.SetPriority( TaskPriority::LOWEST ); - m_aIdle.SetDebugName( "UpdateRequiredDialog m_aIdle TimeOutHdl" ); m_aIdle.SetInvokeHandler( LINK( this, UpdateRequiredDialog, TimeOutHdl ) ); } diff --git a/desktop/source/deployment/gui/license_dialog.cxx b/desktop/source/deployment/gui/license_dialog.cxx index 34fa924b8128..23f184a333dc 100644 --- a/desktop/source/deployment/gui/license_dialog.cxx +++ b/desktop/source/deployment/gui/license_dialog.cxx @@ -79,6 +79,8 @@ LicenseDialogImpl::LicenseDialogImpl( const OUString & sLicenseText) : GenericDialogController(pParent, "desktop/ui/licensedialog.ui", "LicenseDialog") , m_bLicenseRead(false) + , m_aResized("desktop LicenseDialogImpl m_aResized") + , m_aRepeat("LicenseDialogImpl m_aRepeat") , m_xFtHead(m_xBuilder->weld_label("head")) , m_xArrow1(m_xBuilder->weld_widget("arrow1")) , m_xArrow2(m_xBuilder->weld_widget("arrow2")) diff --git a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx index f32e42bcf023..9129271bcb6b 100644 --- a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx +++ b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx @@ -75,10 +75,9 @@ public: }; VDevBuffer::VDevBuffer() - : Timer("VDevBuffer timer") + : Timer("drawinglayer::VDevBuffer via Invoke()") { SetTimeout(10L * 1000L); // ten seconds - SetDebugName("drawinglayer::VDevBuffer via Invoke()"); } VDevBuffer::~VDevBuffer() diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx index 90b7603a6b93..5a3fc449a9e3 100644 --- a/editeng/source/editeng/impedit2.cxx +++ b/editeng/source/editeng/impedit2.cxx @@ -105,6 +105,8 @@ ImpEditEngine::ImpEditEngine( EditEngine* pEE, SfxItemPool* pItemPool ) : eDefLanguage(LANGUAGE_DONTKNOW), nCurTextHeight(0), nCurTextHeightNTP(0), + aOnlineSpellTimer( "editeng::ImpEditEngine aOnlineSpellTimer" ), + aStatusTimer( "editeng::ImpEditEngine aStatusTimer" ), bKernAsianPunctuation(false), bAddExtLeading(false), bIsFormatting(false), @@ -131,15 +133,12 @@ ImpEditEngine::ImpEditEngine( EditEngine* pEE, SfxItemPool* pItemPool ) : aStatusTimer.SetTimeout( 200 ); aStatusTimer.SetInvokeHandler( LINK( this, ImpEditEngine, StatusTimerHdl ) ); - aStatusTimer.SetDebugName( "editeng::ImpEditEngine aStatusTimer" ); aIdleFormatter.SetPriority( TaskPriority::REPAINT ); aIdleFormatter.SetInvokeHandler( LINK( this, ImpEditEngine, IdleFormatHdl ) ); - aIdleFormatter.SetDebugName( "editeng::ImpEditEngine aIdleFormatter" ); aOnlineSpellTimer.SetTimeout( 100 ); aOnlineSpellTimer.SetInvokeHandler( LINK( this, ImpEditEngine, OnlineSpellHdl ) ); - aOnlineSpellTimer.SetDebugName( "editeng::ImpEditEngine aOnlineSpellTimer" ); // Access data already from here on! SetRefDevice( nullptr ); diff --git a/editeng/source/editeng/impedit5.cxx b/editeng/source/editeng/impedit5.cxx index 6a5842d61886..c9d7563e2ffe 100644 --- a/editeng/source/editeng/impedit5.cxx +++ b/editeng/source/editeng/impedit5.cxx @@ -783,6 +783,7 @@ void ImpEditEngine::ParaAttribsToCharAttribs( ContentNode* pNode ) } IdleFormattter::IdleFormattter() + : Idle("editeng::ImpEditEngine aIdleFormatter") { pView = nullptr; nRestarts = 0; diff --git a/extensions/source/bibliography/toolbar.cxx b/extensions/source/bibliography/toolbar.cxx index 8aafe10954da..ef6c8b8559a1 100644 --- a/extensions/source/bibliography/toolbar.cxx +++ b/extensions/source/bibliography/toolbar.cxx @@ -224,6 +224,7 @@ EditControl::~EditControl() BibToolBar::BibToolBar(vcl::Window* pParent, Link<void*,void> aLink) : ToolBox(pParent, "toolbar", "modules/sbibliography/ui/toolbar.ui") + , aIdle("BibToolBar") , xSource(VclPtr<ComboBoxControl>::Create(this)) , pLbSource(xSource->get_widget()) , xQuery(VclPtr<EditControl>::Create(this)) diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx index f719ed3af040..a67249097d7d 100644 --- a/forms/source/component/ListBox.cxx +++ b/forms/source/component/ListBox.cxx @@ -1802,6 +1802,7 @@ namespace frm :OBoundControl( _rxFactory, VCL_CONTROL_LISTBOX, false ) ,m_aChangeListeners( m_aMutex ) ,m_aItemListeners( m_aMutex ) + ,m_aChangeIdle("forms OListBoxControl m_aChangedIdle") { osl_atomic_increment(&m_refCount); diff --git a/fpicker/source/office/autocmpledit.cxx b/fpicker/source/office/autocmpledit.cxx index e0166a33691e..5a31c7bdc501 100644 --- a/fpicker/source/office/autocmpledit.cxx +++ b/fpicker/source/office/autocmpledit.cxx @@ -11,11 +11,11 @@ AutocompleteEdit::AutocompleteEdit(std::unique_ptr<weld::Entry> xEntry) : m_xEntry(std::move(xEntry)) + , m_aChangedIdle("fpicker::AutocompleteEdit m_aChangedIdle") { m_xEntry->connect_changed(LINK(this, AutocompleteEdit, ChangedHdl)); m_aChangedIdle.SetInvokeHandler(LINK(this, AutocompleteEdit, TryAutoComplete)); - m_aChangedIdle.SetDebugName("fpicker::AutocompleteEdit m_aChangedIdle"); } IMPL_LINK_NOARG(AutocompleteEdit, ChangedHdl, weld::Entry&, void) diff --git a/fpicker/source/office/fileview.cxx b/fpicker/source/office/fileview.cxx index cf831a080c0d..42d39aca2689 100644 --- a/fpicker/source/office/fileview.cxx +++ b/fpicker/source/office/fileview.cxx @@ -125,7 +125,7 @@ private: ::osl::Mutex maMutex; SvtFileView_Impl* mpParent; - Timer maResetQuickSearch; + Timer maResetQuickSearch { "fpicker SvtFileView_Impl maResetQuickSearch" }; OUString maQuickSearchText; sal_uInt32 mnSearchIndex; bool mbEnableDelete; diff --git a/fpicker/source/office/iodlgimp.cxx b/fpicker/source/office/iodlgimp.cxx index 86b43c038a5b..1b651cbdd3fe 100644 --- a/fpicker/source/office/iodlgimp.cxx +++ b/fpicker/source/office/iodlgimp.cxx @@ -123,6 +123,7 @@ SvtExpFileDlg_Impl::SvtExpFileDlg_Impl() , m_eMode( FILEDLG_MODE_OPEN ) , m_eDlgType( FILEDLG_TYPE_FILEDLG ) , m_nStyle( PickerFlags::NONE ) + , m_aFilterIdle("fpicker SvtExpFileDlg_Impl m_aFilterIdle") , m_bDoubleClick( false ) , m_bMultiSelection( false ) { diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx index 788e0796c8df..bed044cc5523 100644 --- a/framework/source/layoutmanager/layoutmanager.cxx +++ b/framework/source/layoutmanager/layoutmanager.cxx @@ -106,6 +106,7 @@ LayoutManager::LayoutManager( const Reference< XComponentContext >& xContext ) : , m_xModuleManager( ModuleManager::create( xContext )) , m_xUIElementFactoryManager( ui::theUIElementFactoryManager::get(xContext) ) , m_xPersistentWindowStateSupplier( ui::theWindowStateConfiguration::get( xContext ) ) + , m_aAsyncLayoutTimer( "framework::LayoutManager m_aAsyncLayoutTimer" ) , m_aListenerContainer( m_aMutex ) { // Initialize statusbar member @@ -120,7 +121,6 @@ LayoutManager::LayoutManager( const Reference< XComponentContext >& xContext ) : m_aAsyncLayoutTimer.SetPriority( TaskPriority::HIGH_IDLE ); m_aAsyncLayoutTimer.SetTimeout( 50 ); m_aAsyncLayoutTimer.SetInvokeHandler( LINK( this, LayoutManager, AsyncLayoutHdl ) ); - m_aAsyncLayoutTimer.SetDebugName( "framework::LayoutManager m_aAsyncLayoutTimer" ); registerProperty( LAYOUTMANAGER_PROPNAME_ASCII_AUTOMATICTOOLBARS, LAYOUTMANAGER_PROPHANDLE_AUTOMATICTOOLBARS, css::beans::PropertyAttribute::TRANSIENT, &m_bAutomaticToolbars, cppu::UnoType<decltype(m_bAutomaticToolbars)>::get() ); registerProperty( LAYOUTMANAGER_PROPNAME_ASCII_HIDECURRENTUI, LAYOUTMANAGER_PROPHANDLE_HIDECURRENTUI, beans::PropertyAttribute::TRANSIENT, &m_bHideCurrentUI, cppu::UnoType<decltype(m_bHideCurrentUI)>::get() ); diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx index 4455f810a938..9fc7470bf398 100644 --- a/framework/source/services/autorecovery.cxx +++ b/framework/source/services/autorecovery.cxx @@ -1215,7 +1215,7 @@ AutoRecovery::AutoRecovery(const css::uno::Reference< css::uno::XComponentContex , m_bListenForConfigChanges (false ) , m_nAutoSaveTimeIntervall (0 ) , m_eJob (Job::NoJob) - , m_aTimer ( "Auto save timer" ) + , m_aTimer( "framework::AutoRecovery m_aTimer" ) , m_xAsyncDispatcher (new vcl::EventPoster( LINK( this, AutoRecovery, implts_asyncDispatch ) )) , m_eTimerType (E_DONT_START_TIMER ) , m_nIdPool (0 ) @@ -1224,7 +1224,6 @@ AutoRecovery::AutoRecovery(const css::uno::Reference< css::uno::XComponentContex , m_nMinSpaceDocSave (MIN_DISCSPACE_DOCSAVE ) , m_nMinSpaceConfigSave (MIN_DISCSPACE_CONFIGSAVE ) { - m_aTimer.SetDebugName( "framework::AutoRecovery m_aTimer" ); } void AutoRecovery::initListeners() diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx index 42168962f21e..7e6b202d4353 100644 --- a/framework/source/uielement/menubarmanager.cxx +++ b/framework/source/uielement/menubarmanager.cxx @@ -93,8 +93,8 @@ MenuBarManager::MenuBarManager( , m_xContext(rxContext) , m_xURLTransformer(_xURLTransformer) , m_sIconTheme( SvtMiscOptions().GetIconTheme() ) + , m_aAsyncSettingsTimer( "framework::MenuBarManager::Deactivate m_aAsyncSettingsTimer" ) { - m_aAsyncSettingsTimer.SetDebugName( "framework::MenuBarManager::Deactivate m_aAsyncSettingsTimer" ); m_xPopupMenuControllerFactory = frame::thePopupMenuControllerFactory::get(m_xContext); FillMenuManager( pMenu, rFrame, rDispatchProvider, rModuleIdentifier, bDelete ); } diff --git a/framework/source/uielement/toolbarmanager.cxx b/framework/source/uielement/toolbarmanager.cxx index 774216a251bf..857d797bd542 100644 --- a/framework/source/uielement/toolbarmanager.cxx +++ b/framework/source/uielement/toolbarmanager.cxx @@ -576,6 +576,7 @@ ToolBarManager::ToolBarManager( const Reference< XComponentContext >& rxContext, m_xFrame( rFrame ), m_aListenerContainer( m_mutex ), m_xContext( rxContext ), + m_aAsyncUpdateControllersTimer( "framework::ToolBarManager m_aAsyncUpdateControllersTimer" ), m_sIconTheme( SvtMiscOptions().GetIconTheme() ) { Init(); @@ -596,6 +597,7 @@ ToolBarManager::ToolBarManager( const Reference< XComponentContext >& rxContext, m_xFrame( rFrame ), m_aListenerContainer( m_mutex ), m_xContext( rxContext ), + m_aAsyncUpdateControllersTimer( "framework::ToolBarManager m_aAsyncUpdateControllersTimer" ), m_sIconTheme( SvtMiscOptions().GetIconTheme() ) { Init(); @@ -637,7 +639,6 @@ void ToolBarManager::Init() m_aAsyncUpdateControllersTimer.SetTimeout( 50 ); m_aAsyncUpdateControllersTimer.SetInvokeHandler( LINK( this, ToolBarManager, AsyncUpdateControllersHdl ) ); - m_aAsyncUpdateControllersTimer.SetDebugName( "framework::ToolBarManager m_aAsyncUpdateControllersTimer" ); SvtMiscOptions().AddListenerLink( LINK( this, ToolBarManager, MiscOptionsChanged ) ); } diff --git a/include/vcl/dockwin.hxx b/include/vcl/dockwin.hxx index afca81622a2f..e6ce2b30830e 100644 --- a/include/vcl/dockwin.hxx +++ b/include/vcl/dockwin.hxx @@ -153,8 +153,6 @@ private: DockingWindow & operator= (const DockingWindow &) = delete; protected: - SAL_DLLPRIVATE void SetIdleDebugName( const char *pDebugName ); - using Window::ImplInit; SAL_DLLPRIVATE void ImplInit( vcl::Window* pParent, WinBits nStyle ); SAL_DLLPRIVATE void ImplInitSettings(); @@ -173,11 +171,11 @@ public: SAL_DLLPRIVATE bool isDeferredInit() const { return mbIsDeferredInit; } virtual void doDeferredInit(WinBits nBits); protected: - DockingWindow( WindowType nType ); - + DockingWindow( WindowType nType, const char* pIdleDebugName = "vcl::DockingWindow maLayoutIdle"); public: - DockingWindow(vcl::Window* pParent, WinBits nStyle); + DockingWindow(vcl::Window* pParent, WinBits nStyle, const char* pIdleDebugName = "vcl::DockingWindow maLayoutIdle"); DockingWindow(vcl::Window* pParent, const OString& rID, const OUString& rUIXMLDescription, + const char* pIdleDebugName = "vcl::DockingWindow maLayoutIdle", const css::uno::Reference<css::frame::XFrame> &rFrame = css::uno::Reference<css::frame::XFrame>()); virtual ~DockingWindow() override; virtual void dispose() override; diff --git a/include/vcl/idle.hxx b/include/vcl/idle.hxx index 9abafae440d8..d5162efcb70f 100644 --- a/include/vcl/idle.hxx +++ b/include/vcl/idle.hxx @@ -44,7 +44,7 @@ protected: Idle( bool bAuto, const char *pDebugName ); public: - Idle( const char *pDebugName = nullptr ); + Idle( const char *pDebugName ); virtual void Start(bool bStartTimer = true) override; }; diff --git a/include/vcl/syswin.hxx b/include/vcl/syswin.hxx index 7108bc2ba927..0c35073aec09 100644 --- a/include/vcl/syswin.hxx +++ b/include/vcl/syswin.hxx @@ -135,7 +135,7 @@ private: protected: // Single argument ctors shall be explicit. - explicit SystemWindow(WindowType nType); + explicit SystemWindow(WindowType nType, const char* pIdleDebugName); void loadUI(vcl::Window* pParent, const OString& rID, const OUString& rUIXMLDescription, const css::uno::Reference<css::frame::XFrame> &rFrame = css::uno::Reference<css::frame::XFrame>()); void SetWindowStateData( const WindowStateData& rData ); @@ -144,8 +144,6 @@ protected: SAL_DLLPRIVATE void DoInitialLayout(); - SAL_DLLPRIVATE void SetIdleDebugName( const char *pDebugName ); - public: virtual ~SystemWindow() override; virtual void dispose() override; @@ -247,10 +245,4 @@ public: VclPtr<VirtualDevice> createScreenshot(); }; -inline void SystemWindow::SetIdleDebugName( const char *pDebugName ) -{ - maLayoutIdle.SetDebugName( pDebugName ); -} - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/vcl/task.hxx b/include/vcl/task.hxx index 3785e37fba53..5ed8cde7ff21 100644 --- a/include/vcl/task.hxx +++ b/include/vcl/task.hxx @@ -79,7 +79,6 @@ public: void SetPriority(TaskPriority ePriority); TaskPriority GetPriority() const { return mePriority; } - void SetDebugName( const char *pDebugName ) { mpDebugName = pDebugName; } const char *GetDebugName() const { return mpDebugName; } // Call handler diff --git a/include/vcl/timer.hxx b/include/vcl/timer.hxx index cd8733518093..89cc623a180e 100644 --- a/include/vcl/timer.hxx +++ b/include/vcl/timer.hxx @@ -36,7 +36,7 @@ protected: Timer( bool bAuto, const char *pDebugName ); public: - Timer( const char *pDebugName = nullptr ); + Timer( const char *pDebugName ); Timer( const Timer& rTimer ); virtual ~Timer() override; Timer& operator=( const Timer& rTimer ); @@ -66,7 +66,7 @@ public: class VCL_DLLPUBLIC AutoTimer : public Timer { public: - AutoTimer( const char *pDebugName = nullptr ); + AutoTimer( const char *pDebugName ); }; /// Value suitable as a timeout user input into an EditBox to an expensive update diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx index 898eeaf2256a..72f93042dde2 100644 --- a/linguistic/source/lngsvcmgr.cxx +++ b/linguistic/source/lngsvcmgr.cxx @@ -396,6 +396,7 @@ void LngSvcMgrListenerHelper::RemoveLngSvcEvtBroadcaster( LngSvcMgr::LngSvcMgr() : utl::ConfigItem("Office.Linguistic") , aEvtListeners(GetLinguMutex()) + , aUpdateIdle("LngSvcMgr aUpdateIdle") { bDisposing = false; diff --git a/reportdesign/source/ui/report/dlgedfunc.cxx b/reportdesign/source/ui/report/dlgedfunc.cxx index f6e236cd3c0c..e258f659e05b 100644 --- a/reportdesign/source/ui/report/dlgedfunc.cxx +++ b/reportdesign/source/ui/report/dlgedfunc.cxx @@ -109,6 +109,7 @@ void DlgEdFunc::ForceScroll( const Point& rPos ) DlgEdFunc::DlgEdFunc( OReportSection* _pParent ) : m_pParent(_pParent) , m_rView(_pParent->getSectionView()) + , aScrollTimer("reportdesign DlgEdFunc aScrollTimer") , m_pOverlappingObj(nullptr) , m_nOverlappedControlColor(0) , m_nOldColor(0) diff --git a/sc/source/core/tool/chartlis.cxx b/sc/source/core/tool/chartlis.cxx index a534a0d7b5b9..18b69b12d92b 100644 --- a/sc/source/core/tool/chartlis.cxx +++ b/sc/source/core/tool/chartlis.cxx @@ -347,11 +347,11 @@ void ScChartListenerCollection::Init() { aIdle.SetInvokeHandler( LINK( this, ScChartListenerCollection, TimerHdl ) ); aIdle.SetPriority( TaskPriority::REPAINT ); - aIdle.SetDebugName( "sc::ScChartListenerCollection aIdle" ); } ScChartListenerCollection::ScChartListenerCollection( ScDocument& rDocP ) : meModifiedDuringUpdate( SC_CLCUPDATE_NONE ), + aIdle( "sc::ScChartListenerCollection aIdle" ), rDoc( rDocP ) { Init(); @@ -360,6 +360,7 @@ ScChartListenerCollection::ScChartListenerCollection( ScDocument& rDocP ) : ScChartListenerCollection::ScChartListenerCollection( const ScChartListenerCollection& rColl ) : meModifiedDuringUpdate( SC_CLCUPDATE_NONE ), + aIdle( "sc::ScChartListenerCollection aIdle" ), rDoc( rColl.rDoc ) { Init(); diff --git a/sc/source/core/tool/chartlock.cxx b/sc/source/core/tool/chartlock.cxx index 9b0338b95628..daeecbbc2d07 100644 --- a/sc/source/core/tool/chartlock.cxx +++ b/sc/source/core/tool/chartlock.cxx @@ -141,7 +141,7 @@ void ScChartLockGuard::AlsoLockThisChart( const Reference< frame::XModel >& xMod // ScTemporaryChartLock ScTemporaryChartLock::ScTemporaryChartLock( ScDocument* pDocP ) : - mpDoc( pDocP ) + mpDoc( pDocP ), maTimer("ScTemporaryChartLock maTimer") { maTimer.SetTimeout( SC_CHARTLOCKTIMEOUT ); maTimer.SetInvokeHandler( LINK( this, ScTemporaryChartLock, TimeoutHdl ) ); diff --git a/sc/source/core/tool/refreshtimer.cxx b/sc/source/core/tool/refreshtimer.cxx index bd1e0447d7a6..cd598f25b55d 100644 --- a/sc/source/core/tool/refreshtimer.cxx +++ b/sc/source/core/tool/refreshtimer.cxx @@ -46,12 +46,12 @@ ScRefreshTimerProtector::~ScRefreshTimerProtector() m_rpControl->SetAllowRefresh( true ); } -ScRefreshTimer::ScRefreshTimer() : ppControl(nullptr) +ScRefreshTimer::ScRefreshTimer() : AutoTimer("ScRefreshTimer"), ppControl(nullptr) { SetTimeout( 0 ); } -ScRefreshTimer::ScRefreshTimer( sal_uLong nSeconds ) : ppControl(nullptr) +ScRefreshTimer::ScRefreshTimer( sal_uLong nSeconds ) : AutoTimer("ScRefreshTimer"), ppControl(nullptr) { SetTimeout( nSeconds * 1000 ); Launch(); diff --git a/sc/source/filter/oox/workbookfragment.cxx b/sc/source/filter/oox/workbookfragment.cxx index d703cef6580a..f21ac93117ad 100644 --- a/sc/source/filter/oox/workbookfragment.cxx +++ b/sc/source/filter/oox/workbookfragment.cxx @@ -285,7 +285,7 @@ class ProgressBarTimer : private Timer }; std::vector< ISegmentProgressBarRef > aSegments; public: - ProgressBarTimer() + ProgressBarTimer() : Timer("sc ProgressBarTimer") { SetTimeout( 500 ); } diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx index 32c62ff367e8..4fd91a3451ce 100644 --- a/sc/source/ui/cctrl/checklistmenu.cxx +++ b/sc/source/ui/cctrl/checklistmenu.cxx @@ -47,7 +47,8 @@ ScCheckListMenuControl::MenuItemData::MenuItemData() } ScCheckListMenuControl::SubMenuItemData::SubMenuItemData(ScCheckListMenuControl* pParent) - : mpSubMenu(nullptr) + : maTimer("sc SubMenuItemData maTimer") + , mpSubMenu(nullptr) , mnMenuPos(MENU_NOT_SELECTED) , mpParent(pParent) { diff --git a/sc/source/ui/dbgui/csvtablebox.cxx b/sc/source/ui/dbgui/csvtablebox.cxx index ec2a11c5b739..884715813259 100644 --- a/sc/source/ui/dbgui/csvtablebox.cxx +++ b/sc/source/ui/dbgui/csvtablebox.cxx @@ -26,6 +26,7 @@ ScCsvTableBox::ScCsvTableBox(weld::Builder& rBuilder) , mxScroll(rBuilder.weld_scrolled_window("scrolledwindow", true)) , mxRulerWeld(new weld::CustomWeld(rBuilder, "csvruler", *mxRuler)) , mxGridWeld(new weld::CustomWeld(rBuilder, "csvgrid", *mxGrid)) + , maEndScrollIdle("ScCsvTableBox maEndScrollIdle") { Size aSize(mxScroll->get_approximate_digit_width() * 67, mxScroll->get_text_height() * 10); diff --git a/sc/source/ui/dbgui/tpsort.cxx b/sc/source/ui/dbgui/tpsort.cxx index c9c1c15c04ab..b9cc96bc598c 100644 --- a/sc/source/ui/dbgui/tpsort.cxx +++ b/sc/source/ui/dbgui/tpsort.cxx @@ -72,6 +72,7 @@ ScTabPageSortFields::ScTabPageSortFields(weld::Container* pPage, weld::DialogCon : SfxTabPage(pPage, pController, "modules/scalc/ui/sortcriteriapage.ui", "SortCriteriaPage", &rArgSet) , + m_aIdle("ScTabPageSortFields Scroll To End Idle"), aStrUndefined ( ScResId( SCSTR_UNDEFINED ) ), aStrColumn ( ScResId( SCSTR_COLUMN ) ), aStrRow ( ScResId( SCSTR_ROW ) ), @@ -94,7 +95,6 @@ ScTabPageSortFields::ScTabPageSortFields(weld::Container* pPage, weld::DialogCon Init(); m_aIdle.SetInvokeHandler(LINK(this, ScTabPageSortFields, ScrollToEndHdl)); - m_aIdle.SetDebugName("ScTabPageSortFields Scroll To End Idle"); SetExchangeSupport(); } diff --git a/sc/source/ui/docshell/datastream.cxx b/sc/source/ui/docshell/datastream.cxx index 26a5a77300d7..3003b3cdac2b 100644 --- a/sc/source/ui/docshell/datastream.cxx +++ b/sc/source/ui/docshell/datastream.cxx @@ -283,6 +283,7 @@ DataStream::DataStream(ScDocShell *pShell, const OUString& rURL, const ScRange& mnLinesSinceRefresh(0), mfLastRefreshTime(0.0), mnCurRow(0), + maImportTimer("sc DataStream maImportTimer"), mbIsFirst(true), mbIsUpdate(false) { diff --git a/sc/source/ui/docshell/externalrefmgr.cxx b/sc/source/ui/docshell/externalrefmgr.cxx index cff9b7e758ca..f1e010eba4bc 100644 --- a/sc/source/ui/docshell/externalrefmgr.cxx +++ b/sc/source/ui/docshell/externalrefmgr.cxx @@ -1639,11 +1639,11 @@ ScExternalRefManager::ScExternalRefManager(ScDocument& rDoc) : mrDoc(rDoc), mbInReferenceMarking(false), mbUserInteractionEnabled(true), - mbDocTimerEnabled(true) + mbDocTimerEnabled(true), + maSrcDocTimer( "sc::ScExternalRefManager maSrcDocTimer" ) { maSrcDocTimer.SetInvokeHandler( LINK(this, ScExternalRefManager, TimeOutHdl) ); maSrcDocTimer.SetTimeout(SRCDOC_SCAN_INTERVAL); - maSrcDocTimer.SetDebugName( "sc::ScExternalRefManager maSrcDocTimer" ); } ScExternalRefManager::~ScExternalRefManager() diff --git a/sc/source/ui/drawfunc/fupoor.cxx b/sc/source/ui/drawfunc/fupoor.cxx index 1db8e6a99d6d..a7fb3f38bd24 100644 --- a/sc/source/ui/drawfunc/fupoor.cxx +++ b/sc/source/ui/drawfunc/fupoor.cxx @@ -39,6 +39,8 @@ FuPoor::FuPoor(ScTabViewShell& rViewSh, vcl::Window* pWin, ScDrawView* pViewP, pWindow(pWin), pDrDoc(pDoc), aSfxRequest(rReq), + aScrollTimer("sc FuPoor aScrollTimer"), + aDragTimer("sc FuPoor aDragTimer"), bIsInDragMode(false), // remember MouseButton state mnCode(0) diff --git a/sc/source/ui/miscdlgs/acredlin.cxx b/sc/source/ui/miscdlgs/acredlin.cxx index 06d4ef3a7b57..ece0eeb58739 100644 --- a/sc/source/ui/miscdlgs/acredlin.cxx +++ b/sc/source/ui/miscdlgs/acredlin.cxx @@ -70,7 +70,7 @@ ScAcceptChgDlg::ScAcceptChgDlg(SfxBindings* pB, SfxChildWindow* pCW, weld::Windo ScViewData* ptrViewData) : SfxModelessDialogController(pB, pCW, pParent, "svx/ui/acceptrejectchangesdialog.ui", "AcceptRejectChangesDialog") - , aSelectionIdle("ScAcceptChgDlg SelectionIdle") + , aSelectionIdle( "ScAcceptChgDlg aSelectionIdle" ) , aReOpenIdle("ScAcceptChgDlg ReOpenIdle") , pViewData( ptrViewData ) , pDoc( &ptrViewData->GetDocument() ) @@ -114,7 +114,6 @@ ScAcceptChgDlg::ScAcceptChgDlg(SfxBindings* pB, SfxChildWindow* pCW, weld::Windo pTheView = pTPView->GetTableControl(); pTheView->SetCalcView(); aSelectionIdle.SetInvokeHandler(LINK( this, ScAcceptChgDlg, UpdateSelectionHdl )); - aSelectionIdle.SetDebugName( "ScAcceptChgDlg aSelectionIdle" ); pTPFilter->SetReadyHdl(LINK( this, ScAcceptChgDlg, FilterHandle )); pTPFilter->SetRefHdl(LINK( this, ScAcceptChgDlg, RefHandle )); diff --git a/sc/source/ui/miscdlgs/conflictsdlg.cxx b/sc/source/ui/miscdlgs/conflictsdlg.cxx index 69c2979efe53..876febabfa76 100644 --- a/sc/source/ui/miscdlgs/conflictsdlg.cxx +++ b/sc/source/ui/miscdlgs/conflictsdlg.cxx @@ -335,7 +335,7 @@ ScConflictsDlg::ScConflictsDlg(weld::Window* pParent, ScViewData* pViewData, ScD , mpSharedDoc ( pSharedDoc ) , mpSharedTrack ( nullptr ) , mrConflictsList ( rConflictsList ) - , maSelectionIdle ( "ScConflictsDlg SelectionIdle" ) + , maSelectionIdle ( "ScConflictsDlg maSelectionIdle" ) , mbInSelectHdl ( false ) , m_xBtnKeepMine(m_xBuilder->weld_button("keepmine")) , m_xBtnKeepOther(m_xBuilder->weld_button("keepother")) @@ -364,7 +364,6 @@ ScConflictsDlg::ScConflictsDlg(weld::Window* pParent, ScViewData* pViewData, ScD rTreeView.set_size_request(-1, rTreeView.get_height_rows(16)); maSelectionIdle.SetInvokeHandler( LINK( this, ScConflictsDlg, UpdateSelectionHdl ) ); - maSelectionIdle.SetDebugName( "ScConflictsDlg maSelectionIdle" ); rTreeView.connect_changed(LINK(this, ScConflictsDlg, SelectHandle)); diff --git a/sc/source/ui/miscdlgs/dataproviderdlg.cxx b/sc/source/ui/miscdlgs/dataproviderdlg.cxx index 4671cf78e192..e3c8c517b404 100644 --- a/sc/source/ui/miscdlgs/dataproviderdlg.cxx +++ b/sc/source/ui/miscdlgs/dataproviderdlg.cxx @@ -761,6 +761,7 @@ ScDataProviderDlg::ScDataProviderDlg(weld::Window* pParent, std::shared_ptr<ScDo , mxEditID(m_xBuilder->weld_entry("ed_id")) , mxApplyBtn(m_xBuilder->weld_button("apply")) , mxBrowseBtn(m_xBuilder->weld_button("browse")) + , maIdle("ScDataProviderDlg maIdle") , mnIndex(0) { Size aPrefSize = mxTable->GetOptimalSize(); diff --git a/sc/source/ui/miscdlgs/instbdlg.cxx b/sc/source/ui/miscdlgs/instbdlg.cxx index 748318997fb6..1a7c6d804576 100644 --- a/sc/source/ui/miscdlgs/instbdlg.cxx +++ b/sc/source/ui/miscdlgs/instbdlg.cxx @@ -36,6 +36,7 @@ ScInsertTableDlg::ScInsertTableDlg(weld::Window* pParent, ScViewData& rData, SCTAB nTabCount, bool bFromFile) : GenericDialogController(pParent, "modules/scalc/ui/insertsheet.ui", "InsertSheetDialog") + , aBrowseTimer("ScInsertTableDlg aBrowseTimer") , rViewData(rData) , rDoc(rData.GetDocument()) , pDocShTables(nullptr) diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx index 756f89426fe4..ca3956ad8cd4 100644 --- a/sc/source/ui/navipi/navipi.cxx +++ b/sc/source/ui/navipi/navipi.cxx @@ -350,6 +350,7 @@ ScNavigatorDlg::ScNavigatorDlg(SfxBindings* pB, weld::Widget* pParent, SfxNaviga , m_xLbDocuments(m_xBuilder->weld_combo_box("documents")) , m_xDragModeMenu(m_xBuilder->weld_menu("dragmodemenu")) , m_xNavigatorDlg(pNavigatorDlg) + , aContentIdle("ScNavigatorDlg aContentIdle") , aStrActiveWin(ScResId(SCSTR_ACTIVEWIN)) , pViewData(nullptr ) , eListMode(NAV_LMODE_NONE) diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index ef01c2ab1abe..8e7bfff9d09e 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -369,6 +369,7 @@ ScGridWindow::ScGridWindow( vcl::Window* pParent, ScViewData& rData, ScSplitPos aCurMousePos( 0,0 ), nPaintCount( 0 ), aRFSelectedCorned( NONE ), + maShowPageBreaksTimer("ScGridWindow maShowPageBreaksTimer"), bEEMouse( false ), bDPMouse( false ), bRFMouse( false ), diff --git a/sc/source/ui/view/notemark.cxx b/sc/source/ui/view/notemark.cxx index fd9ce3b406e0..ba0d3c1da18b 100644 --- a/sc/source/ui/view/notemark.cxx +++ b/sc/source/ui/view/notemark.cxx @@ -43,6 +43,7 @@ ScNoteMarker::ScNoteMarker( vcl::Window* pWin, vcl::Window* pRight, vcl::Window* m_pDoc( pD ), m_aDocPos( aPos ), m_aUserText( rUser ), + m_aTimer("ScNoteMarker m_aTimer"), m_aMapMode( rMap ), m_bLeft( bLeftEdge ), m_bByKeyboard( bKeyboard ), diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx index 530d78ec81ed..1315b2d88214 100644 --- a/sc/source/ui/view/tabview.cxx +++ b/sc/source/ui/view/tabview.cxx @@ -183,6 +183,7 @@ ScTabView::ScTabView( vcl::Window* pParent, ScDocShell& rDocSh, ScTabViewShell* aCornerButton( VclPtr<ScCornerButton>::Create( pFrameWin, &aViewData ) ), aTopButton( VclPtr<ScCornerButton>::Create( pFrameWin, &aViewData ) ), aScrollBarBox( VclPtr<ScrollBarBox>::Create( pFrameWin, WB_SIZEABLE ) ), + aScrollTimer("ScTabView aScrollTimer"), pTimerWindow( nullptr ), aExtraEditViewManager( pViewShell, pGridWin ), nTipVisible( nullptr ), diff --git a/sd/source/core/CustomAnimationEffect.cxx b/sd/source/core/CustomAnimationEffect.cxx index f3a4291f9ea6..d82a89e65da3 100644 --- a/sd/source/core/CustomAnimationEffect.cxx +++ b/sd/source/core/CustomAnimationEffect.cxx @@ -3043,6 +3043,7 @@ void SAL_CALL AnimationChangeListener::disposing( const css::lang::EventObject& MainSequence::MainSequence() : mxTimingRootNode(SequenceTimeContainer::create(::comphelper::getProcessComponentContext())) + , maTimer("sd MainSequence maTimer") , mbTimerMode(false) , mbRebuilding( false ) , mnRebuildLockGuard( 0 ) @@ -3060,6 +3061,7 @@ MainSequence::MainSequence() MainSequence::MainSequence( const css::uno::Reference< css::animations::XAnimationNode >& xNode ) : mxTimingRootNode( xNode, UNO_QUERY ) + , maTimer("sd MainSequence maTimer") , mbTimerMode( false ) , mbRebuilding( false ) , mnRebuildLockGuard( 0 ) diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx index f96d2f8f7133..77850c52b887 100644 --- a/sd/source/ui/animations/CustomAnimationPane.cxx +++ b/sd/source/ui/animations/CustomAnimationPane.cxx @@ -151,6 +151,7 @@ CustomAnimationPane::CustomAnimationPane( weld::Widget* pParent, ViewShellBase& , mnCurvePathPos(-1) , mnPolygonPathPos(-1) , mnFreeformPathPos(-1) + , maLateInitTimer("sd CustomAnimationPane maLateInitTimer") { initialize(); } diff --git a/sd/source/ui/animations/SlideTransitionPane.cxx b/sd/source/ui/animations/SlideTransitionPane.cxx index 09298265a667..efb58db6b3cd 100644 --- a/sd/source/ui/animations/SlideTransitionPane.cxx +++ b/sd/source/ui/animations/SlideTransitionPane.cxx @@ -398,7 +398,8 @@ SlideTransitionPane::SlideTransitionPane( mpDrawDoc( rBase.GetDocShell() ? rBase.GetDocShell()->GetDoc() : nullptr ), mbHasSelection( false ), mbUpdatingControls( false ), - mbIsMainViewChangePending( false ) + mbIsMainViewChangePending( false ), + maLateInitTimer("sd SlideTransitionPane maLateInitTimer") { Initialize(mpDrawDoc); } diff --git a/sd/source/ui/dlg/BulletAndPositionDlg.cxx b/sd/source/ui/dlg/BulletAndPositionDlg.cxx index e8e5d62ef058..8b42d63c8add 100644 --- a/sd/source/ui/dlg/BulletAndPositionDlg.cxx +++ b/sd/source/ui/dlg/BulletAndPositionDlg.cxx @@ -76,6 +76,7 @@ class SdDrawDocument; SvxBulletAndPositionDlg::SvxBulletAndPositionDlg(weld::Window* pWindow, const SfxItemSet& rSet, const ::sd::View* pView) : GenericDialogController(pWindow, "cui/ui/bulletandposition.ui", "BulletAndPosition") + , aInvalidateTimer("sd SvxBulletAndPositionDlg aInvalidateTimer") , rFirstStateSet(rSet) , bLastWidthModified(false) , bModified(false) diff --git a/sd/source/ui/dlg/brkdlg.cxx b/sd/source/ui/dlg/brkdlg.cxx index 8edfac4e1aa4..bc1d0f5cff99 100644 --- a/sd/source/ui/dlg/brkdlg.cxx +++ b/sd/source/ui/dlg/brkdlg.cxx @@ -45,10 +45,10 @@ BreakDlg::BreakDlg(weld::Window* pWindow, DrawView* pDrView, DrawDocShell* pShel , m_xBtnCancel(m_xBuilder->weld_button("cancel")) , m_pDrView(pDrView) , m_bCancel(false) + , m_aUpdateIdle( "sd::BreakDlg m_aUpdateIdle" ) { m_aUpdateIdle.SetPriority( TaskPriority::REPAINT ); m_aUpdateIdle.SetInvokeHandler( LINK( this, BreakDlg, InitialUpdate ) ); - m_aUpdateIdle.SetDebugName( "sd::BreakDlg m_aUpdateIdle" ); m_xBtnCancel->connect_clicked(LINK(this, BreakDlg, CancelButtonHdl)); diff --git a/sd/source/ui/dlg/filedlg.cxx b/sd/source/ui/dlg/filedlg.cxx index a545f6dc946f..b2087c408acf 100644 --- a/sd/source/ui/dlg/filedlg.cxx +++ b/sd/source/ui/dlg/filedlg.cxx @@ -174,9 +174,9 @@ SdFileDialog_Imp::SdFileDialog_Imp(weld::Window* pParent) : FileDialogHelper(css::ui::dialogs::TemplateDescription::FILEOPEN_LINK_PLAY, FileDialogFlags::NONE, pParent) , mnPlaySoundEvent(nullptr) , mbLabelPlaying(false) + , maUpdateIdle( "SdFileDialog_Imp maUpdateIdle" ) { maUpdateIdle.SetInvokeHandler(LINK(this, SdFileDialog_Imp, IsMusicStoppedHdl)); - maUpdateIdle.SetDebugName( "SdFileDialog_Imp maUpdateIdle" ); css::uno::Reference < css::ui::dialogs::XFilePicker3 > xFileDlg = GetFilePicker(); diff --git a/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx b/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx index 7c31619e8b48..ceb5693275a1 100644 --- a/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx +++ b/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx @@ -70,6 +70,7 @@ ConfigurationUpdater::ConfigurationUpdater ( mbUpdatePending(false), mbUpdateBeingProcessed(false), mnLockCount(0), + maUpdateTimer("sd::ConfigurationUpdater maUpdateTimer"), mnFailedUpdateCount(0), mpResourceManager(rpResourceManager) { @@ -77,7 +78,6 @@ ConfigurationUpdater::ConfigurationUpdater ( // and the requested configuration differ. With the timer we try // updates until the two configurations are the same. maUpdateTimer.SetTimeout(snNormalTimeout); - maUpdateTimer.SetDebugName("sd::ConfigurationUpdater maUpdateTimer"); maUpdateTimer.SetInvokeHandler(LINK(this,ConfigurationUpdater,TimeoutHandler)); mxControllerManager = rxControllerManager; } diff --git a/sd/source/ui/func/fupoor.cxx b/sd/source/ui/func/fupoor.cxx index db84fdf5ad19..067b281950eb 100644 --- a/sd/source/ui/func/fupoor.cxx +++ b/sd/source/ui/func/fupoor.cxx @@ -65,8 +65,11 @@ FuPoor::FuPoor ( mpDocSh( pDrDoc->GetDocSh() ), mpDoc(pDrDoc), nSlotId( rReq.GetSlot() ), + aScrollTimer("sd FuPoor aScrollTimer"), + aDragTimer("sd FuPoor aDragTimer"), bIsInDragMode(false), bNoScrollUntilInside (true), + aDelayToScrollTimer("sd FuPoor aDelayToScrollTimer"), bScrollable (false), bDelayActive (false), bFirstMouseMove (false), diff --git a/sd/source/ui/remotecontrol/ImagePreparer.cxx b/sd/source/ui/remotecontrol/ImagePreparer.cxx index 8279ddf33b4e..2647b213884e 100644 --- a/sd/source/ui/remotecontrol/ImagePreparer.cxx +++ b/sd/source/ui/remotecontrol/ImagePreparer.cxx @@ -42,7 +42,8 @@ using namespace ::com::sun::star::uno; ImagePreparer::ImagePreparer( const uno::Reference<presentation::XSlideShowController>& rxController, Transmitter *aTransmitter ) - : xController( rxController ), + : Timer("sd ImagePreparer"), + xController( rxController ), pTransmitter( aTransmitter ) { SAL_INFO( "sdremote", "ImagePreparer - start" ); diff --git a/sd/source/ui/remotecontrol/Receiver.cxx b/sd/source/ui/remotecontrol/Receiver.cxx index 3c0309e9e461..1ba8f1c02678 100644 --- a/sd/source/ui/remotecontrol/Receiver.cxx +++ b/sd/source/ui/remotecontrol/Receiver.cxx @@ -28,7 +28,7 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::presentation; using namespace ::com::sun::star::beans; -Receiver::Receiver( Transmitter *aTransmitter ) +Receiver::Receiver( Transmitter *aTransmitter ) : Timer("sd Receiver") { pTransmitter = aTransmitter; SetTimeout( 0 ); diff --git a/sd/source/ui/sidebar/MasterPageContainerQueue.cxx b/sd/source/ui/sidebar/MasterPageContainerQueue.cxx index 325ad4ff704c..229f3d9728c8 100644 --- a/sd/source/ui/sidebar/MasterPageContainerQueue.cxx +++ b/sd/source/ui/sidebar/MasterPageContainerQueue.cxx @@ -94,6 +94,7 @@ MasterPageContainerQueue::MasterPageContainerQueue ( const std::weak_ptr<ContainerAdapter>& rpContainer) : mpWeakContainer(rpContainer), mpRequestQueue(new RequestQueue()), + maDelayedPreviewCreationTimer("sd MasterPageContainerQueue maDelayedPreviewCreationTimer"), mnRequestsServedCount(0) { } diff --git a/sd/source/ui/slideshow/showwin.cxx b/sd/source/ui/slideshow/showwin.cxx index 2e961e45e4b2..417b7a12306e 100644 --- a/sd/source/ui/slideshow/showwin.cxx +++ b/sd/source/ui/slideshow/showwin.cxx @@ -47,6 +47,8 @@ const sal_uInt64 SHOW_MOUSE_TIMEOUT = 1000; ShowWindow::ShowWindow( const ::rtl::Reference< SlideshowImpl >& xController, vcl::Window* pParent ) : ::sd::Window( pParent ) +, maPauseTimer("sd ShowWindow maPauseTimer") +, maMouseTimer("sd ShowWindow maMouseTimer") , mnPauseTimeout( SLIDE_NO_TIMEOUT ) , mnRestartPageIndex( PAGE_NO_END ) , meShowWindowMode(SHOWWINDOWMODE_NORMAL) diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx index 37ba68c6baba..e50a3f595236 100644 --- a/sd/source/ui/slideshow/slideshowimpl.cxx +++ b/sd/source/ui/slideshow/slideshowimpl.cxx @@ -490,6 +490,9 @@ constexpr OUStringLiteral gsVerb( u"Verb" ); SlideshowImpl::SlideshowImpl( const Reference< XPresentation2 >& xPresentation, ViewShell* pViewSh, ::sd::View* pView, SdDrawDocument* pDoc, vcl::Window* pParentWindow ) : SlideshowImplBase( m_aMutex ) , mxModel(pDoc->getUnoModel(),UNO_QUERY_THROW) +, maUpdateTimer("SlideShowImpl maUpdateTimer") +, maInputFreezeTimer("SlideShowImpl maInputFreezeTimer") +, maDeactivateTimer("SlideShowImpl maDeactivateTimer") , mpView(pView) , mpViewShell(pViewSh) , mpDocSh(pDoc->GetDocSh()) @@ -519,16 +522,13 @@ SlideshowImpl::SlideshowImpl( const Reference< XPresentation2 >& xPresentation, if( mpViewShell ) mpOldActiveWindow = mpViewShell->GetActiveWindow(); - maUpdateTimer.SetDebugName("SlideShowImpl maUpdateTimer"); maUpdateTimer.SetInvokeHandler(LINK(this, SlideshowImpl, updateHdl)); // Priority must not be too high or we'll starve input handling etc. maUpdateTimer.SetPriority(TaskPriority::REPAINT); - maDeactivateTimer.SetDebugName("SlideShowImpl maDeactivateTimer"); maDeactivateTimer.SetInvokeHandler(LINK(this, SlideshowImpl, deactivateHdl)); maDeactivateTimer.SetTimeout( 20 ); - maInputFreezeTimer.SetDebugName("SlideShowImpl maInputFreezeTimer"); maInputFreezeTimer.SetInvokeHandler( LINK( this, SlideshowImpl, ReadyForNextInputHdl ) ); maInputFreezeTimer.SetTimeout( 20 ); diff --git a/sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx b/sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx index 3e4bf42882a4..79ab9fab27f8 100644 --- a/sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx +++ b/sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx @@ -122,11 +122,11 @@ CacheCompactor::CacheCompactor( sal_Int32 nMaximalCacheSize) : mrCache(rCache), mnMaximalCacheSize(nMaximalCacheSize), + maCompactionTimer("sd CacheCompactor maCompactionTimer"), mbIsCompactionRunning(false) { maCompactionTimer.SetTimeout(100); maCompactionTimer.SetInvokeHandler(LINK(this,CacheCompactor,CompactionCallback)); - } IMPL_LINK_NOARG(CacheCompactor, CompactionCallback, Timer *, void) diff --git a/sd/source/ui/slidesorter/cache/SlsCacheConfiguration.cxx b/sd/source/ui/slidesorter/cache/SlsCacheConfiguration.cxx index 67653997278d..e3a4de5e3a06 100644 --- a/sd/source/ui/slidesorter/cache/SlsCacheConfiguration.cxx +++ b/sd/source/ui/slidesorter/cache/SlsCacheConfiguration.cxx @@ -60,7 +60,6 @@ std::shared_ptr<CacheConfiguration> CacheConfiguration::Instance() rInstancePtr->m_ReleaseTimer.SetInvokeHandler( LINK(rInstancePtr.get(),CacheConfiguration,TimerCallback)); rInstancePtr->m_ReleaseTimer.SetTimeout(5000 /* 5s */); - rInstancePtr->m_ReleaseTimer.SetDebugName("sd::CacheConfiguration maReleaseTimer"); rInstancePtr->m_ReleaseTimer.Start(); } } @@ -68,6 +67,7 @@ std::shared_ptr<CacheConfiguration> CacheConfiguration::Instance() } CacheConfiguration::CacheConfiguration() + : m_ReleaseTimer("sd::CacheConfiguration maReleaseTimer") { // Get the cache size from configuration. try diff --git a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx index eb6b8cf40005..077c48709de6 100644 --- a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx +++ b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx @@ -35,7 +35,8 @@ QueueProcessor::QueueProcessor ( const Size& rPreviewSize, const bool bDoSuperSampling, const SharedCacheContext& rpCacheContext) - : maPreviewSize(rPreviewSize), + : maTimer("sd::QueueProcessor maTimer"), + maPreviewSize(rPreviewSize), mbDoSuperSampling(bDoSuperSampling), mpCacheContext(rpCacheContext), mrQueue(rQueue), @@ -44,7 +45,6 @@ QueueProcessor::QueueProcessor ( { maTimer.SetInvokeHandler (LINK(this,QueueProcessor,ProcessRequestHdl)); maTimer.SetTimeout (10); - maTimer.SetDebugName ("sd::QueueProcessor maTimer"); } QueueProcessor::~QueueProcessor() diff --git a/sd/source/ui/slidesorter/controller/SlsCurrentSlideManager.cxx b/sd/source/ui/slidesorter/controller/SlsCurrentSlideManager.cxx index cb3067a6ec59..9203c06e8f9f 100644 --- a/sd/source/ui/slidesorter/controller/SlsCurrentSlideManager.cxx +++ b/sd/source/ui/slidesorter/controller/SlsCurrentSlideManager.cxx @@ -43,7 +43,8 @@ namespace sd::slidesorter::controller { CurrentSlideManager::CurrentSlideManager (SlideSorter& rSlideSorter) : mrSlideSorter(rSlideSorter), - mnCurrentSlideIndex(-1) + mnCurrentSlideIndex(-1), + maSwitchPageDelayTimer("sd CurrentSlideManager maSwitchPageDelayTimer") { maSwitchPageDelayTimer.SetTimeout(100); maSwitchPageDelayTimer.SetInvokeHandler(LINK(this,CurrentSlideManager,SwitchPageCallback)); diff --git a/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx b/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx index 0a922859c6de..83192414f126 100644 --- a/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx +++ b/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx @@ -46,6 +46,7 @@ ScrollBarManager::ScrollBarManager (SlideSorter& rSlideSorter) mnVerticalPosition (0), maScrollBorder (20,20), mpScrollBarFiller(mrSlideSorter.GetScrollBarFiller()), + maAutoScrollTimer("sd ScrollBarManager maAutoScrollTimer"), maAutoScrollOffset(0,0), mbIsAutoScrollActive(false), mpContentWindow(mrSlideSorter.GetContentWindow()) diff --git a/sd/source/ui/slidesorter/view/SlsToolTip.cxx b/sd/source/ui/slidesorter/view/SlsToolTip.cxx index 08a4ff6ec7f8..c266bbe3db8e 100644 --- a/sd/source/ui/slidesorter/view/SlsToolTip.cxx +++ b/sd/source/ui/slidesorter/view/SlsToolTip.cxx @@ -35,12 +35,12 @@ namespace sd::slidesorter::view { ToolTip::ToolTip (SlideSorter& rSlideSorter) : mrSlideSorter(rSlideSorter), - mnHelpWindowHandle(nullptr) + mnHelpWindowHandle(nullptr), + maShowTimer("sd::slidesorter::view::ToolTip maShowTimer"), + maHiddenTimer("sd::slidesorter::view::ToolTip maHiddenTimer") { - maShowTimer.SetDebugName("sd::slidesorter::view::ToolTip maShowTimer"); maShowTimer.SetTimeout(HelpSettings::GetTipDelay()); maShowTimer.SetInvokeHandler(LINK(this, ToolTip, DelayTrigger)); - maHiddenTimer.SetDebugName("sd::slidesorter::view::ToolTip maHiddenTimer"); maHiddenTimer.SetTimeout(HelpSettings::GetTipDelay()); } diff --git a/sd/source/ui/tools/AsynchronousCall.cxx b/sd/source/ui/tools/AsynchronousCall.cxx index 5d7323775dd4..b7b70f63a04a 100644 --- a/sd/source/ui/tools/AsynchronousCall.cxx +++ b/sd/source/ui/tools/AsynchronousCall.cxx @@ -23,6 +23,7 @@ namespace sd::tools { AsynchronousCall::AsynchronousCall() + : maTimer("sd AsynchronousCall") { maTimer.SetInvokeHandler(LINK(this, AsynchronousCall, TimerCallback)); } diff --git a/sd/source/ui/tools/TimerBasedTaskExecution.cxx b/sd/source/ui/tools/TimerBasedTaskExecution.cxx index b3343b701b2d..ae1f2233f91f 100644 --- a/sd/source/ui/tools/TimerBasedTaskExecution.cxx +++ b/sd/source/ui/tools/TimerBasedTaskExecution.cxx @@ -84,6 +84,7 @@ TimerBasedTaskExecution::TimerBasedTaskExecution ( sal_uInt32 nMillisecondsBetweenSteps, sal_uInt32 nMaxTimePerStep) : mpTask(rpTask), + maTimer("sd TimerBasedTaskExecution maTimer"), mnMaxTimePerStep(nMaxTimePerStep) { maTimer.SetInvokeHandler( LINK(this,TimerBasedTaskExecution,TimerCallback) ); diff --git a/sd/source/ui/view/ViewShellImplementation.cxx b/sd/source/ui/view/ViewShellImplementation.cxx index 3f301c2efcd1..5725feb2cc4f 100644 --- a/sd/source/ui/view/ViewShellImplementation.cxx +++ b/sd/source/ui/view/ViewShellImplementation.cxx @@ -331,7 +331,8 @@ std::shared_ptr<ViewShell::Implementation::ToolBarManagerLock> ViewShell::Implementation::ToolBarManagerLock::ToolBarManagerLock ( const std::shared_ptr<ToolBarManager>& rpManager) - : mpLock(new ToolBarManager::UpdateLock(rpManager)) + : mpLock(new ToolBarManager::UpdateLock(rpManager)), + maTimer("sd ToolBarManagerLock maTimer") { // Start a timer that will unlock the ToolBarManager update lock when // that is not done explicitly by calling Release(). diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx index 233a2bd46334..c37e01281977 100644 --- a/sfx2/source/appl/appcfg.cxx +++ b/sfx2/source/appl/appcfg.cxx @@ -89,10 +89,9 @@ SfxEventAsyncer_Impl::SfxEventAsyncer_Impl( const SfxEventHint& rHint ) { if( rHint.GetObjShell() ) StartListening( *rHint.GetObjShell() ); - pIdle.reset( new Idle("SfxEventASyncer") ); + pIdle.reset( new Idle("sfx::SfxEventAsyncer_Impl pIdle") ); pIdle->SetInvokeHandler( LINK(this, SfxEventAsyncer_Impl, IdleHdl) ); pIdle->SetPriority( TaskPriority::HIGH_IDLE ); - pIdle->SetDebugName( "sfx::SfxEventAsyncer_Impl pIdle" ); pIdle->Start(); } diff --git a/sfx2/source/appl/linksrc.cxx b/sfx2/source/appl/linksrc.cxx index 83b5c83cf055..fb9ec11431c4 100644 --- a/sfx2/source/appl/linksrc.cxx +++ b/sfx2/source/appl/linksrc.cxx @@ -46,7 +46,7 @@ public: } SvLinkSourceTimer::SvLinkSourceTimer( SvLinkSource * pOwn ) - : pOwner( pOwn ) + : Timer("sfx2 SvLinkSourceTimer"), pOwner( pOwn ) { } diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx index bc3848821d2a..3749b3cf8a12 100644 --- a/sfx2/source/appl/newhelp.cxx +++ b/sfx2/source/appl/newhelp.cxx @@ -393,6 +393,7 @@ IndexTabPage_Impl::IndexTabPage_Impl(weld::Widget* pParent, SfxHelpIndexWindow_I , m_xOpenBtn(m_xBuilder->weld_button("display")) , aFactoryIdle("sfx2 appl IndexTabPage_Impl Factory") , aAutoCompleteIdle("sfx2 appl IndexTabPage_Impl AutoComplete") + , aKeywordTimer("sfx2::IndexTabPage_Impl aKeywordTimer") , bIsActivated(false) , nRowHeight(m_xIndexList->get_height_rows(1)) , nAllHeight(0) diff --git a/sfx2/source/appl/openuriexternally.cxx b/sfx2/source/appl/openuriexternally.cxx index 8ef0ed2ea5ba..f3f6edf11eee 100644 --- a/sfx2/source/appl/openuriexternally.cxx +++ b/sfx2/source/appl/openuriexternally.cxx @@ -33,7 +33,7 @@ namespace { class URITools { private: - Timer aOpenURITimer; + Timer aOpenURITimer { "sfx2::openUriExternallyTimer" }; OUString msURI; bool mbHandleSystemShellExecuteException; DECL_LINK(onOpenURI, Timer*, void); @@ -72,7 +72,6 @@ void URITools::openURI(const OUString& sURI, bool bHandleSystemShellExecuteExcep #else aOpenURITimer.SetTimeout(0); #endif - aOpenURITimer.SetDebugName("sfx2::openUriExternallyTimer"); aOpenURITimer.Start(); } diff --git a/sfx2/source/control/bindings.cxx b/sfx2/source/control/bindings.cxx index 1fd72c1dbdfb..5f929846107c 100644 --- a/sfx2/source/control/bindings.cxx +++ b/sfx2/source/control/bindings.cxx @@ -114,7 +114,7 @@ public: bool bAllMsgDirty; // Has a MessageServer been invalidated? bool bAllDirty; // After InvalidateAll bool bCtrlReleased; // while EnterRegistrations - AutoTimer aAutoTimer; // for volatile Slots + AutoTimer aAutoTimer { "sfx::SfxBindings aAutoTimer" }; // for volatile Slots bool bInUpdate; // for Assertions bool bInNextJob; // for Assertions bool bFirstRound; // First round in Update @@ -146,7 +146,6 @@ SfxBindings::SfxBindings() // all caches are valid (no pending invalidate-job) // create the list of caches pImpl->aAutoTimer.SetInvokeHandler( LINK(this, SfxBindings, NextJob) ); - pImpl->aAutoTimer.SetDebugName( "sfx::SfxBindings aAutoTimer" ); } diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx index 111f39ec5593..e4965467ed0e 100644 --- a/sfx2/source/control/dispatch.cxx +++ b/sfx2/source/control/dispatch.cxx @@ -111,7 +111,7 @@ struct SfxDispatcher_Impl std::vector<std::unique_ptr<SfxRequest>> aReqArr; SfxShellStack_Impl aStack; // active functionality - Idle aIdle; // for Flush + Idle aIdle { "sfx::SfxDispatcher_Impl aIdle" }; // for Flush std::deque<SfxToDo_Impl> aToDoStack; // not processed Push/Pop SfxViewFrame* pFrame; // NULL or associated Frame tools::SvRef<SfxHintPoster> @@ -306,7 +306,6 @@ void SfxDispatcher::Construct_Impl() xImp->aIdle.SetPriority(TaskPriority::HIGH_IDLE ); xImp->aIdle.SetInvokeHandler( LINK(this, SfxDispatcher, EventHdl_Impl ) ); - xImp->aIdle.SetDebugName( "sfx::SfxDispatcher_Impl aIdle" ); } SfxDispatcher::SfxDispatcher() diff --git a/sfx2/source/control/itemdel.cxx b/sfx2/source/control/itemdel.cxx index b0f25212c863..2b8e7db73fc6 100644 --- a/sfx2/source/control/itemdel.cxx +++ b/sfx2/source/control/itemdel.cxx @@ -43,11 +43,10 @@ public: SfxItemDisruptor_Impl::SfxItemDisruptor_Impl(std::unique_ptr<SfxPoolItem> pItemToDisrupt) : pItem(std::move(pItemToDisrupt)) - , m_Idle("sfx SfxItemDisruptor_Impl::Delete") + , m_Idle("sfx::SfxItemDisruptor_Impl m_Idle") { m_Idle.SetInvokeHandler(LINK(this, SfxItemDisruptor_Impl, Delete)); m_Idle.SetPriority(TaskPriority::DEFAULT_IDLE); - m_Idle.SetDebugName("sfx::SfxItemDisruptor_Impl m_Idle"); DBG_ASSERT(0 == pItem->GetRefCount(), "disrupting pooled item"); pItem->SetKind(SfxItemKind::DeleteOnIdle); diff --git a/sfx2/source/dialog/basedlgs.cxx b/sfx2/source/dialog/basedlgs.cxx index daa43f456738..f28d31d7882d 100644 --- a/sfx2/source/dialog/basedlgs.cxx +++ b/sfx2/source/dialog/basedlgs.cxx @@ -43,7 +43,7 @@ public: bool bClosing; void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override; - Idle aMoveIdle; + Idle aMoveIdle { "SfxModelessDialog_Impl aMoveIdle" }; }; void SfxModelessDialog_Impl::Notify( SfxBroadcaster&, const SfxHint& rHint ) diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx index 7427d441ff8c..1a3cdec7e08f 100644 --- a/sfx2/source/dialog/dinfdlg.cxx +++ b/sfx2/source/dialog/dinfdlg.cxx @@ -1298,13 +1298,14 @@ CustomPropertiesWindow::CustomPropertiesWindow(weld::Container& rParent, weld::L , m_pCurrentLine(nullptr) , m_aNumberFormatter(::comphelper::getProcessComponentContext(), Application::GetSettings().GetLanguageTag().getLanguageType()) + , m_aEditLoseFocusIdle("sfx2 CustomPropertiesWindow loseFocusIdle") + , m_aBoxLoseFocusIdle("sfx2 CustomPropertiesWindow m_aBoxLoseFocusIdle") , m_rBody(rParent) , m_rHeaderAccName(rHeaderAccName) , m_rHeaderAccType(rHeaderAccType) , m_rHeaderAccValue(rHeaderAccValue) { m_aEditLoseFocusIdle.SetPriority( TaskPriority::LOWEST ); - m_aEditLoseFocusIdle.SetDebugName("sfx2 CustomPropertiesWindow loseFocusIdle"); m_aEditLoseFocusIdle.SetInvokeHandler( LINK( this, CustomPropertiesWindow, EditTimeoutHdl ) ); m_aBoxLoseFocusIdle.SetPriority( TaskPriority::LOWEST ); m_aBoxLoseFocusIdle.SetInvokeHandler( LINK( this, CustomPropertiesWindow, BoxTimeoutHdl ) ); diff --git a/sfx2/source/dialog/dockwin.cxx b/sfx2/source/dialog/dockwin.cxx index 5e1c5d3e1c35..cd70cbd7feb6 100644 --- a/sfx2/source/dialog/dockwin.cxx +++ b/sfx2/source/dialog/dockwin.cxx @@ -406,6 +406,7 @@ SfxDockingWindow_Impl::SfxDockingWindow_Impl(SfxDockingWindow* pBase) ,eDockAlignment(SfxChildAlignment::NOALIGNMENT) ,bConstructed(false) ,pSplitWin(nullptr) + ,aMoveIdle( "sfx::SfxDockingWindow_Impl aMoveIdle" ) ,nHorizontalSize(0) ,nVerticalSize(0) ,nLine(0) @@ -417,7 +418,6 @@ SfxDockingWindow_Impl::SfxDockingWindow_Impl(SfxDockingWindow* pBase) { aMoveIdle.SetPriority(TaskPriority::RESIZE); aMoveIdle.SetInvokeHandler(LINK(pBase,SfxDockingWindow,TimerHdl)); - aMoveIdle.SetDebugName( "sfx::SfxDockingWindow_Impl aMoveIdle" ); } /* [Description] diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx index 8551227b3c33..6bf8fc9b6036 100644 --- a/sfx2/source/dialog/filedlghelper.cxx +++ b/sfx2/source/dialog/filedlghelper.cxx @@ -855,7 +855,8 @@ FileDialogHelper_Impl::FileDialogHelper_Impl( const OUString& sStandardDir, const css::uno::Sequence< OUString >& rDenyList ) - :m_nDialogType ( nDialogType ) + :maPreviewIdle("sfx2 FileDialogHelper_Impl maPreviewIdle") + ,m_nDialogType ( nDialogType ) ,meContext ( FileDialogHelper::UnknownContext ) { const char* pServiceName=nullptr; diff --git a/sfx2/source/dialog/infobar.cxx b/sfx2/source/dialog/infobar.cxx index d6e2a34e0043..9ca00fb95e47 100644 --- a/sfx2/source/dialog/infobar.cxx +++ b/sfx2/source/dialog/infobar.cxx @@ -347,11 +347,11 @@ IMPL_LINK_NOARG(SfxInfoBarWindow, CloseHandler, const OString&, void) SfxInfoBarContainerWindow::SfxInfoBarContainerWindow(SfxInfoBarContainerChild* pChildWin) : Window(pChildWin->GetParent(), WB_DIALOGCONTROL) , m_pChildWin(pChildWin) + , m_aLayoutIdle("SfxInfoBarContainerWindow m_aLayoutIdle") , m_bResizing(false) { m_aLayoutIdle.SetPriority(TaskPriority::HIGHEST); m_aLayoutIdle.SetInvokeHandler(LINK(this, SfxInfoBarContainerWindow, DoUpdateLayout)); - m_aLayoutIdle.SetDebugName("SfxInfoBarContainerWindow m_aLayoutIdle"); } IMPL_LINK_NOARG(SfxInfoBarContainerWindow, DoUpdateLayout, Timer*, void) { m_pChildWin->Update(); } diff --git a/sfx2/source/dialog/splitwin.cxx b/sfx2/source/dialog/splitwin.cxx index 1389dd8e1dbe..6625b85d5aaf 100644 --- a/sfx2/source/dialog/splitwin.cxx +++ b/sfx2/source/dialog/splitwin.cxx @@ -101,6 +101,7 @@ public: , bAutoHide( false ) , bSplit( false ) , bEndAutoHide( false ) + , aTimer("sfx2 SfxEmptySplitWin_Impl aTimer") , nState( 1 ) { aTimer.SetInvokeHandler( diff --git a/sfx2/source/doc/new.cxx b/sfx2/source/doc/new.cxx index 832079218bbb..2de3a680bd4d 100644 --- a/sfx2/source/doc/new.cxx +++ b/sfx2/source/doc/new.cxx @@ -229,6 +229,7 @@ sal_uInt16 SfxNewFileDialog::GetSelectedTemplatePos() const SfxNewFileDialog::SfxNewFileDialog(weld::Window *pParent, SfxNewFileDialogMode nFlags) : SfxDialogController(pParent, "sfx/ui/loadtemplatedialog.ui", "LoadTemplateDialog") + , m_aPrevIdle("SfxNewFileDialog m_aPrevIdle") , m_nFlags(nFlags) , m_xPreviewController(new SfxPreviewWin_Impl) , m_xRegionLb(m_xBuilder->weld_tree_view("categories")) diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx index 48c3491f91a3..91e338413410 100644 --- a/sfx2/source/doc/objmisc.cxx +++ b/sfx2/source/doc/objmisc.cxx @@ -1266,7 +1266,7 @@ void SfxObjectShell::CancelTransfers() AutoReloadTimer_Impl::AutoReloadTimer_Impl( const OUString& rURL, sal_uInt32 nTime, SfxObjectShell* pSh ) - : aUrl( rURL ), pObjSh( pSh ) + : Timer("sfx2 AutoReloadTimer_Impl"), aUrl( rURL ), pObjSh( pSh ) { SetTimeout( nTime ); } diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx index 2c2d2a87a157..6efb8d87f2e6 100644 --- a/sfx2/source/doc/templatedlg.cxx +++ b/sfx2/source/doc/templatedlg.cxx @@ -157,7 +157,7 @@ SfxTemplateManagerDlg::SfxTemplateManagerDlg(weld::Window *pParent) : GenericDialogController(pParent, "sfx/ui/templatedlg.ui", "TemplateDialog") , maSelTemplates(cmpSelectionItems) , mxDesktop(Desktop::create(comphelper::getProcessComponentContext())) - , m_aUpdateDataTimer("UpdateDataTimer") + , m_aUpdateDataTimer( "SfxTemplateManagerDlg UpdateDataTimer" ) , mxSearchFilter(m_xBuilder->weld_entry("search_filter")) , mxCBApp(m_xBuilder->weld_combo_box("filter_application")) , mxCBFolder(m_xBuilder->weld_combo_box("filter_folder")) @@ -240,7 +240,6 @@ SfxTemplateManagerDlg::SfxTemplateManagerDlg(weld::Window *pParent) mxLocalView->Show(); m_aUpdateDataTimer.SetInvokeHandler(LINK(this, SfxTemplateManagerDlg, ImplUpdateDataHdl)); - m_aUpdateDataTimer.SetDebugName( "SfxTemplateManagerDlg UpdateDataTimer" ); m_aUpdateDataTimer.SetTimeout(EDIT_UPDATEDATA_TIMEOUT); mxLocalView->connect_focus_rect(LINK(this, SfxTemplateManagerDlg, FocusRectLocalHdl)); @@ -1341,6 +1340,7 @@ void SfxTemplateCategoryDialog::SetCategoryLBEntries(std::vector<OUString> aFold SfxTemplateSelectionDlg::SfxTemplateSelectionDlg(weld::Window* pParent) : SfxTemplateManagerDlg(pParent) + , maIdle("sfx2 SfxTemplateManagerDlg maIdle") { mxCBApp->set_active(MNI_IMPRESS); mxCBFolder->set_active(0); @@ -1377,7 +1377,6 @@ short SfxTemplateSelectionDlg::run() // tdf#125079 toggle off the size tracking at some future idle point maIdle.SetPriority(TaskPriority::LOWEST); - maIdle.SetDebugName("sfx2 SfxTemplateManagerDlg maIdle"); maIdle.SetInvokeHandler(LINK(this,SfxTemplateSelectionDlg,TimeOut)); maIdle.Start(); setTemplateViewMode(TemplateViewMode::eThumbnailView); diff --git a/sfx2/source/view/ipclient.cxx b/sfx2/source/view/ipclient.cxx index 7484033b2808..3b87e2be21bd 100644 --- a/sfx2/source/view/ipclient.cxx +++ b/sfx2/source/view/ipclient.cxx @@ -102,7 +102,7 @@ class SfxInPlaceClient_Impl : public ::cppu::WeakImplHelper< embed::XEmbeddedCli embed::XWindowSupplier > { public: - Timer m_aTimer; // activation timeout, starts after object connection + Timer m_aTimer { "sfx::SfxInPlaceClient m_xImpl::m_aTimer" }; // activation timeout, starts after object connection tools::Rectangle m_aObjArea; // area of object in coordinate system of the container (without scaling) Fraction m_aScaleWidth; // scaling that was applied to the object when it was not active Fraction m_aScaleHeight; @@ -631,7 +631,6 @@ SfxInPlaceClient::SfxInPlaceClient( SfxViewShell* pViewShell, vcl::Window *pDraw m_xImp->m_nAspect = nAspect; m_xImp->m_aScaleWidth = m_xImp->m_aScaleHeight = Fraction(1,1); pViewShell->NewIPClient_Impl(this); - m_xImp->m_aTimer.SetDebugName( "sfx::SfxInPlaceClient m_xImpl::m_aTimer" ); m_xImp->m_aTimer.SetTimeout( SFX_CLIENTACTIVATE_TIMEOUT ); m_xImp->m_aTimer.SetInvokeHandler( LINK( m_xImp.get(), SfxInPlaceClient_Impl, TimerHdl ) ); } diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index 22f3065190b9..24be9325d957 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -287,6 +287,7 @@ SmGraphicWidget::SmGraphicWidget(SmViewShell& rShell, SmGraphicWindow& rGraphicW : mrGraphicWindow(rGraphicWindow) , bIsCursorVisible(false) , bIsLineVisible(false) + , aCaretBlinkTimer("SmGraphicWidget aCaretBlinkTimer") , mrViewShell(rShell) { } @@ -816,6 +817,7 @@ SmCmdBoxWindow::SmCmdBoxWindow(SfxBindings *pBindings_, SfxChildWindow *pChildWi , m_xEdit(new SmEditWindow(*this, *m_xBuilder)) , aController(*m_xEdit, SID_TEXT, *pBindings_) , bExiting(false) + , aInitialFocusTimer("SmCmdBoxWindow aInitialFocusTimer") { set_id("math_edit"); diff --git a/svtools/source/brwbox/datwin.cxx b/svtools/source/brwbox/datwin.cxx index 87ae8ef1d92c..5a34a39fe3c5 100644 --- a/svtools/source/brwbox/datwin.cxx +++ b/svtools/source/brwbox/datwin.cxx @@ -177,6 +177,7 @@ BrowserDataWin::BrowserDataWin( BrowseBox* pParent ) ,pHeaderBar( nullptr ) ,pCornerWin( nullptr ) ,bInDtor( false ) + ,aMouseTimer("BrowserDataWin aMouseTimer") ,bInPaint( false ) ,bInCommand( false ) ,bNoHScroll( false ) diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx index 6fee437ead94..9d78a805c18d 100644 --- a/svtools/source/control/inettbc.cxx +++ b/svtools/source/control/inettbc.cxx @@ -849,7 +849,8 @@ IMPL_LINK_NOARG(SvtURLBox, TryAutoComplete, Timer *, void) } SvtURLBox::SvtURLBox(std::unique_ptr<weld::ComboBox> pWidget) - : eSmartProtocol(INetProtocol::NotValid) + : aChangedIdle("svtools::URLBox aChangedIdle") + , eSmartProtocol(INetProtocol::NotValid) , bOnlyDirectories( false ) , bHistoryDisabled( false ) , bNoSelection( false ) @@ -866,7 +867,6 @@ SvtURLBox::SvtURLBox(std::unique_ptr<weld::ComboBox> pWidget) m_xWidget->connect_changed(LINK(this, SvtURLBox, ChangedHdl)); aChangedIdle.SetInvokeHandler(LINK(this, SvtURLBox, TryAutoComplete)); - aChangedIdle.SetDebugName("svtools::URLBox aChangedIdle"); } void SvtURLBox::Init() diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx index 4e0cc77e1040..65c1d27074b3 100644 --- a/svtools/source/control/tabbar.cxx +++ b/svtools/source/control/tabbar.cxx @@ -336,13 +336,13 @@ public: TabBarEdit::TabBarEdit(TabBar* pParent) : InterimItemWindow(pParent, "svt/ui/tabbaredit.ui", "TabBarEdit") , m_xEntry(m_xBuilder->weld_entry("entry")) + , maLoseFocusIdle( "svtools::TabBarEdit maLoseFocusIdle" ) { InitControlBase(m_xEntry.get()); mbPostEvt = false; maLoseFocusIdle.SetPriority( TaskPriority::REPAINT ); maLoseFocusIdle.SetInvokeHandler( LINK( this, TabBarEdit, ImplEndTimerHdl ) ); - maLoseFocusIdle.SetDebugName( "svtools::TabBarEdit maLoseFocusIdle" ); m_xEntry->connect_activate(LINK(this, TabBarEdit, ActivatedHdl)); m_xEntry->connect_key_press(LINK(this, TabBarEdit, KeyInputHdl)); diff --git a/svtools/source/dialogs/prnsetup.cxx b/svtools/source/dialogs/prnsetup.cxx index fd7fca5ba098..5f41e355e3a8 100644 --- a/svtools/source/dialogs/prnsetup.cxx +++ b/svtools/source/dialogs/prnsetup.cxx @@ -223,6 +223,7 @@ PrinterSetupDialog::PrinterSetupDialog(weld::Window* pParent) , m_xFiType(m_xBuilder->weld_label("type")) , m_xFiLocation(m_xBuilder->weld_label("location")) , m_xFiComment(m_xBuilder->weld_label("comment")) + , maStatusTimer("PrinterSetupDialog maStatusTimer") { m_xLbName->make_sorted(); diff --git a/svx/source/dialog/imapimp.hxx b/svx/source/dialog/imapimp.hxx index f2a10e45e98d..50862f625f83 100644 --- a/svx/source/dialog/imapimp.hxx +++ b/svx/source/dialog/imapimp.hxx @@ -38,7 +38,8 @@ public: bool bExecState; IMapOwnData() - : pUpdateEditingObject(nullptr) + : aIdle("svx IMapOwnData") + , pUpdateEditingObject(nullptr) , bExecState(false) { } diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx index b266d04acd9f..f28c5bdfc3b8 100644 --- a/svx/source/dialog/srchdlg.cxx +++ b/svx/source/dialog/srchdlg.cxx @@ -128,7 +128,7 @@ struct SearchDlg_Impl bool bSaveToModule : 1, bFocusOnSearch : 1; WhichRangesContainer pRanges; - Timer aSelectionTimer; + Timer aSelectionTimer { "svx SearchDlg_Impl aSelectionTimer" }; uno::Reference< frame::XDispatch > xCommand1Dispatch; uno::Reference< frame::XDispatch > xCommand2Dispatch; diff --git a/svx/source/form/datanavi.cxx b/svx/source/form/datanavi.cxx index 46ae7647e94a..45d7f8ab284e 100644 --- a/svx/source/form/datanavi.cxx +++ b/svx/source/form/datanavi.cxx @@ -1262,6 +1262,7 @@ namespace svxform , m_nLastSelectedPos(-1) , m_bShowDetails(false) , m_bIsNotifyDisabled(false) + , m_aUpdateTimer("svx DataNavigatorWindow m_aUpdateTimer") , m_xDataListener(new DataListener(this)) { // handler @@ -2516,6 +2517,7 @@ namespace svxform const OUString& _rPropertyName, const Reference< XPropertySet >& _rPropSet) : GenericDialogController(pParent, "svx/ui/addconditiondialog.ui", "AddConditionDialog") + , m_aResultIdle("svx AddConditionDialog m_aResultIdle") , m_sPropertyName(_rPropertyName) , m_xBinding(_rPropSet) , m_xConditionED(m_xBuilder->weld_text_view("condition")) diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx index b9946f270619..e5c35ff39cc7 100644 --- a/svx/source/form/fmshimp.cxx +++ b/svx/source/form/fmshimp.cxx @@ -603,6 +603,7 @@ FmXFormShell_Base_Disambiguation::FmXFormShell_Base_Disambiguation( ::osl::Mutex FmXFormShell::FmXFormShell( FmFormShell& _rShell, SfxViewFrame* _pViewFrame ) :FmXFormShell_BASE(m_aMutex) ,FmXFormShell_CFGBASE("Office.Common/Misc", ConfigItemMode::NONE) + ,m_aMarkTimer("svx::FmXFormShell m_aMarkTimer") ,m_eNavigate( NavigationBarMode_NONE ) ,m_nInvalidationEvent( nullptr ) ,m_nActivationEvent( nullptr ) @@ -625,7 +626,6 @@ FmXFormShell::FmXFormShell( FmFormShell& _rShell, SfxViewFrame* _pViewFrame ) { m_aMarkTimer.SetTimeout(100); m_aMarkTimer.SetInvokeHandler(LINK(this, FmXFormShell, OnTimeOut_Lock)); - m_aMarkTimer.SetDebugName("svx::FmXFormShell m_aMarkTimer"); m_xAttachedFrame = _pViewFrame->GetFrame().GetFrameInterface(); diff --git a/svx/source/form/fmtextcontrolshell.cxx b/svx/source/form/fmtextcontrolshell.cxx index bb6937277aa1..67d43d734b7f 100644 --- a/svx/source/form/fmtextcontrolshell.cxx +++ b/svx/source/form/fmtextcontrolshell.cxx @@ -524,6 +524,7 @@ namespace svx ,m_bActiveControlIsRichText( false ) ,m_pViewFrame( _pFrame ) ,m_rBindings( _pFrame->GetBindings() ) + ,m_aClipboardInvalidation("svx FmTextControlShell m_aClipboardInvalidation") ,m_bNeedClipboardInvalidation( true ) { m_aClipboardInvalidation.SetInvokeHandler( LINK( this, FmTextControlShell, OnInvalidateClipboard ) ); diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx index f9887a6a62c1..ebaa1cc86939 100644 --- a/svx/source/form/formcontroller.cxx +++ b/svx/source/form/formcontroller.cxx @@ -532,6 +532,8 @@ FormController::FormController(const Reference< css::uno::XComponentContext > & ,m_aRowSetApproveListeners(m_aMutex) ,m_aParameterListeners(m_aMutex) ,m_aFilterListeners(m_aMutex) + ,m_aTabActivationIdle("svx FormController m_aTabActivationIdle") + ,m_aFeatureInvalidationTimer("svx FormController m_aFeatureInvalidationTimer") ,m_aMode( OUString( "DataMode" ) ) ,m_aLoadEvent( LINK( this, FormController, OnLoad ) ) ,m_aToggleEvent( LINK( this, FormController, OnToggleAutoFields ) ) diff --git a/svx/source/form/navigatortree.cxx b/svx/source/form/navigatortree.cxx index 2a5d15deec43..436b1d604355 100644 --- a/svx/source/form/navigatortree.cxx +++ b/svx/source/form/navigatortree.cxx @@ -131,6 +131,7 @@ namespace svxform NavigatorTree::NavigatorTree(std::unique_ptr<weld::TreeView> xTreeView) :m_xTreeView(std::move(xTreeView)) ,m_aDropTargetHelper(*this) + ,m_aSynchronizeTimer("svx NavigatorTree m_aSynchronizeTimer") ,nEditEvent(nullptr) ,m_sdiState(SDI_DIRTY) ,m_nSelectLock(0) diff --git a/svx/source/sdr/animation/scheduler.cxx b/svx/source/sdr/animation/scheduler.cxx index 2e3ea1d4a057..d4451c099a65 100644 --- a/svx/source/sdr/animation/scheduler.cxx +++ b/svx/source/sdr/animation/scheduler.cxx @@ -45,11 +45,11 @@ namespace sdr::animation } Scheduler::Scheduler() - : mnTime(0), + : Timer("sdr::animation::Scheduler"), + mnTime(0), mnDeltaTime(0), mbIsPaused(false) { - SetDebugName("sdr::animation::Scheduler"); SetPriority(TaskPriority::POST_PAINT); } diff --git a/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx b/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx index 07b133b123af..d9e9909e8ff7 100644 --- a/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx +++ b/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx @@ -75,7 +75,7 @@ public: PagePrimitiveExtractor::PagePrimitiveExtractor( ViewObjectContactOfPageObj& rVOC) -: ObjectContactOfPagePainter(rVOC.GetObjectContact()), +: ObjectContactOfPagePainter(rVOC.GetObjectContact()), Idle("svx PagePrimitiveExtractor"), mrViewObjectContactOfPageObj(rVOC) { // make this renderer a preview renderer diff --git a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx index 05f6c1b592aa..19babd089e54 100644 --- a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx +++ b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx @@ -351,12 +351,11 @@ namespace sdr::overlay : OverlayManager(rOutputDevice), mpBufferDevice(VclPtr<VirtualDevice>::Create()), mpOutputBufferDevice(VclPtr<VirtualDevice>::Create()), - maBufferIdle("sdr overlay OverlayManagerBuffered Idle") + maBufferIdle( "sdr::overlay::OverlayManagerBuffered maBufferIdle" ) { // Init timer maBufferIdle.SetPriority( TaskPriority::POST_PAINT ); maBufferIdle.SetInvokeHandler(LINK(this, OverlayManagerBuffered, ImpBufferTimerHandler)); - maBufferIdle.SetDebugName( "sdr::overlay::OverlayManagerBuffered maBufferIdle" ); } rtl::Reference<OverlayManager> OverlayManagerBuffered::create( diff --git a/svx/source/stbctrls/modctrl.cxx b/svx/source/stbctrls/modctrl.cxx index 2d3fc7a5d133..d658175260a2 100644 --- a/svx/source/stbctrls/modctrl.cxx +++ b/svx/source/stbctrls/modctrl.cxx @@ -48,7 +48,7 @@ struct SvxModifyControl::ImplData MODIFICATION_STATE_SIZE }; - Idle maIdle; + Idle maIdle { "svx::SvxModifyControl maIdle" }; Image maImages[MODIFICATION_STATE_SIZE]; ModificationState mnModState; @@ -61,7 +61,6 @@ struct SvxModifyControl::ImplData maImages[MODIFICATION_STATE_FEEDBACK] = Image(StockImage::Yes, RID_SVXBMP_DOC_MODIFIED_FEEDBACK); maIdle.SetPriority(TaskPriority::LOWEST); - maIdle.SetDebugName("svx::SvxModifyControl maIdle"); } }; diff --git a/svx/source/svdraw/svdpntv.cxx b/svx/source/svdraw/svdpntv.cxx index 188dae9ff881..15e4aefcb897 100644 --- a/svx/source/svdraw/svdpntv.cxx +++ b/svx/source/svdraw/svdpntv.cxx @@ -133,6 +133,7 @@ SdrPaintView::SdrPaintView(SdrModel& rSdrModel, OutputDevice* pOut) , mpDragWin(nullptr) , mpDefaultStyleSheet(nullptr) , maDefaultAttr(rSdrModel.GetItemPool()) + , maComeBackIdle( "svx::SdrPaintView aComeBackIdle" ) , meAnimationMode(SdrAnimationMode::Animate) , mnHitTolPix(2) , mnMinMovPix(3) @@ -166,7 +167,6 @@ SdrPaintView::SdrPaintView(SdrModel& rSdrModel, OutputDevice* pOut) { maComeBackIdle.SetPriority(TaskPriority::REPAINT); maComeBackIdle.SetInvokeHandler(LINK(this,SdrPaintView,ImpComeBackHdl)); - maComeBackIdle.SetDebugName( "svx::SdrPaintView aComeBackIdle" ); if (mpModel) SetDefaultStyleSheet(mpModel->GetDefaultStyleSheet(), true); diff --git a/svx/source/tbxctrls/formatpaintbrushctrl.cxx b/svx/source/tbxctrls/formatpaintbrushctrl.cxx index 45c412ef78d1..0089212bdd01 100644 --- a/svx/source/tbxctrls/formatpaintbrushctrl.cxx +++ b/svx/source/tbxctrls/formatpaintbrushctrl.cxx @@ -37,10 +37,10 @@ SFX_IMPL_TOOLBOX_CONTROL( FormatPaintBrushToolBoxControl, SfxBoolItem ); FormatPaintBrushToolBoxControl::FormatPaintBrushToolBoxControl( sal_uInt16 nSlotId, ToolBoxItemId nId, ToolBox& rTbx ) : SfxToolBoxControl( nSlotId, nId, rTbx ) , m_bPersistentCopy(false) + , m_aDoubleClickTimer("FormatPaintBrushToolBoxControl m_aDoubleClickTimer") { sal_uInt64 nDblClkTime = rTbx.GetSettings().GetMouseSettings().GetDoubleClickTime(); - m_aDoubleClickTimer.SetDebugName("FormatPaintBrushToolBoxControl m_aDoubleClickTimer"); m_aDoubleClickTimer.SetInvokeHandler( LINK(this, FormatPaintBrushToolBoxControl, WaitDoubleClickHdl) ); m_aDoubleClickTimer.SetTimeout(nDblClkTime); } diff --git a/svx/source/tbxctrls/grafctrl.cxx b/svx/source/tbxctrls/grafctrl.cxx index 4baee3c82a83..0faca2b75891 100644 --- a/svx/source/tbxctrls/grafctrl.cxx +++ b/svx/source/tbxctrls/grafctrl.cxx @@ -195,6 +195,7 @@ ImplGrafControl::ImplGrafControl( const OUString& rCmd, const Reference< XFrame >& rFrame) : InterimItemWindow(pParent, "svx/ui/grafctrlbox.ui", "GrafCtrlBox") + , maIdle("svx ImplGrafControl maIdle") , maCommand(rCmd) , mxFrame(rFrame) , mxImage(m_xBuilder->weld_image("image")) diff --git a/sw/inc/SwDocIdle.hxx b/sw/inc/SwDocIdle.hxx index 7b3801dc395e..2eeeee1c9870 100644 --- a/sw/inc/SwDocIdle.hxx +++ b/sw/inc/SwDocIdle.hxx @@ -41,7 +41,7 @@ private: virtual sal_uInt64 UpdateMinPeriod(sal_uInt64 nTimeNow) const override; public: - SwDocIdle(SwDoc& doc); + SwDocIdle(SwDoc& doc, const char* pDebugIdleName); virtual ~SwDocIdle() override; }; } diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx index f857b3f8da01..99b47f73ac52 100644 --- a/sw/qa/extras/uiwriter/uiwriter.cxx +++ b/sw/qa/extras/uiwriter/uiwriter.cxx @@ -4130,7 +4130,7 @@ class IdleTask DECL_LINK( FlipFlag, Timer *, void ); private: bool flag; - Idle maIdle; + Idle maIdle { "sw uiwriter IdleTask" }; }; } diff --git a/sw/source/core/doc/DocumentStatisticsManager.cxx b/sw/source/core/doc/DocumentStatisticsManager.cxx index c222017cfda8..ead31cbd332a 100644 --- a/sw/source/core/doc/DocumentStatisticsManager.cxx +++ b/sw/source/core/doc/DocumentStatisticsManager.cxx @@ -37,15 +37,14 @@ using namespace ::com::sun::star; namespace sw { -DocumentStatisticsManager::DocumentStatisticsManager( SwDoc& i_rSwdoc ) : m_rDoc( i_rSwdoc ), - mpDocStat( new SwDocStat ), - mbInitialized( false ), - maStatsUpdateIdle( i_rSwdoc ) - +DocumentStatisticsManager::DocumentStatisticsManager( SwDoc& i_rSwdoc ) + : m_rDoc( i_rSwdoc ), + mpDocStat( new SwDocStat ), + mbInitialized( false ), + maStatsUpdateIdle( i_rSwdoc, "sw::DocumentStatisticsManager maStatsUpdateIdle" ) { maStatsUpdateIdle.SetPriority( TaskPriority::LOWEST ); maStatsUpdateIdle.SetInvokeHandler( LINK( this, DocumentStatisticsManager, DoIdleStatsUpdate ) ); - maStatsUpdateIdle.SetDebugName( "sw::DocumentStatisticsManager maStatsUpdateIdle" ); } void DocumentStatisticsManager::DocInfoChgd(bool const isEnableSetModified) diff --git a/sw/source/core/doc/DocumentTimerManager.cxx b/sw/source/core/doc/DocumentTimerManager.cxx index 4f4875cf775c..10de8efbebac 100644 --- a/sw/source/core/doc/DocumentTimerManager.cxx +++ b/sw/source/core/doc/DocumentTimerManager.cxx @@ -42,13 +42,12 @@ DocumentTimerManager::DocumentTimerManager(SwDoc& i_rSwdoc) : m_rDoc(i_rSwdoc) , m_nIdleBlockCount(0) , m_bStartOnUnblock(false) - , m_aDocIdle(i_rSwdoc) ... etc. - the rest is truncated