summaryrefslogtreecommitdiff
path: root/chart2
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 /chart2
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 'chart2')
-rw-r--r--chart2/inc/ChartView.hxx2
-rw-r--r--chart2/source/controller/dialogs/DataBrowser.cxx3
-rw-r--r--chart2/source/controller/dialogs/TimerTriggeredControllerLock.cxx1
-rw-r--r--chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx2
-rw-r--r--chart2/source/controller/main/ChartController.cxx1
5 files changed, 6 insertions, 3 deletions
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),