summaryrefslogtreecommitdiff
path: root/sw/source/uibase/utlui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-09-28 10:59:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-09-28 19:35:13 +0200
commitd72511eda923c827a6175bec9b8f24c237f82730 (patch)
tree2f0173ce3a9ff08b9cfccad0313db9a142f1a6ba /sw/source/uibase/utlui
parent0bcc4b55d723f73b2fb7a86fcfebeca49905079e (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 'sw/source/uibase/utlui')
-rw-r--r--sw/source/uibase/utlui/content.cxx1
-rw-r--r--sw/source/uibase/utlui/glbltree.cxx1
-rw-r--r--sw/source/uibase/utlui/gloslst.cxx2
-rw-r--r--sw/source/uibase/utlui/navipi.cxx1
4 files changed, 4 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx
index d7e6015fb9e9..5933b3cf26f8 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -1075,6 +1075,7 @@ SwContentTree::SwContentTree(std::unique_ptr<weld::TreeView> xTreeView, SwNaviga
, m_aDropTargetHelper(*this)
, m_pDialog(pDialog)
, m_sSpace(OUString(" "))
+ , m_aUpdTimer("SwContentTree m_aUpdTimer")
, m_sInvisible(SwResId(STR_INVISIBLE))
, m_pHiddenShell(nullptr)
, m_pActiveShell(nullptr)
diff --git a/sw/source/uibase/utlui/glbltree.cxx b/sw/source/uibase/utlui/glbltree.cxx
index 3594c0a198ab..12eb53ed87fe 100644
--- a/sw/source/uibase/utlui/glbltree.cxx
+++ b/sw/source/uibase/utlui/glbltree.cxx
@@ -127,6 +127,7 @@ SwGlobalTree::SwGlobalTree(std::unique_ptr<weld::TreeView> xTreeView, SwNavigati
: m_xTreeView(std::move(xTreeView))
, m_aDropTargetHelper(*this)
, m_pDialog(pDialog)
+ , m_aUpdateTimer("SwGlobalTree m_aUpdateTimer")
, m_pActiveShell(nullptr)
{
m_xTreeView->set_size_request(m_xTreeView->get_approximate_digit_width() * 30,
diff --git a/sw/source/uibase/utlui/gloslst.cxx b/sw/source/uibase/utlui/gloslst.cxx
index 06658da32de4..35d0f80e50c2 100644
--- a/sw/source/uibase/utlui/gloslst.cxx
+++ b/sw/source/uibase/utlui/gloslst.cxx
@@ -85,7 +85,7 @@ IMPL_LINK_NOARG(SwGlossDecideDlg, SelectHdl, weld::TreeView&, void)
}
SwGlossaryList::SwGlossaryList() :
- m_bFilled(false)
+ AutoTimer("SwGlossaryList"), m_bFilled(false)
{
SvtPathOptions aPathOpt;
m_sPath = aPathOpt.GetAutoTextPath();
diff --git a/sw/source/uibase/utlui/navipi.cxx b/sw/source/uibase/utlui/navipi.cxx
index 186934f0fc75..7124c3a6b7d9 100644
--- a/sw/source/uibase/utlui/navipi.cxx
+++ b/sw/source/uibase/utlui/navipi.cxx
@@ -503,6 +503,7 @@ SwNavigationPI::SwNavigationPI(weld::Widget* pParent,
, m_xGlobalBox(m_xBuilder->weld_widget("globalbox"))
, m_xGlobalTree(new SwGlobalTree(m_xBuilder->weld_tree_view("globaltree"), this))
, m_xDocListBox(m_xBuilder->weld_combo_box("documents"))
+ , m_aPageChgIdle("SwNavigationPI m_aPageChgIdle")
, m_xNavigatorDlg(pNavigatorDlg)
, m_pContentView(nullptr)
, m_pContentWrtShell(nullptr)