diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-28 10:59:43 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-28 19:35:13 +0200 |
commit | d72511eda923c827a6175bec9b8f24c237f82730 (patch) | |
tree | 2f0173ce3a9ff08b9cfccad0313db9a142f1a6ba /svtools/source | |
parent | 0bcc4b55d723f73b2fb7a86fcfebeca49905079e (diff) |
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.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/brwbox/datwin.cxx | 1 | ||||
-rw-r--r-- | svtools/source/control/inettbc.cxx | 4 | ||||
-rw-r--r-- | svtools/source/control/tabbar.cxx | 2 | ||||
-rw-r--r-- | svtools/source/dialogs/prnsetup.cxx | 1 |
4 files changed, 5 insertions, 3 deletions
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(); |