summaryrefslogtreecommitdiff
path: root/vcl/inc/saltimer.hxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-11-25 21:38:34 +0000
committerMichael Meeks <michael.meeks@collabora.com>2015-11-25 23:33:21 +0000
commit87d41e3b7d0cf000346ec412ae5af10a6d162849 (patch)
treed25b7123166590c705819e3a19d071765eb67644 /vcl/inc/saltimer.hxx
parent10a451e97992ce42db3cefa3bffb883f310767c9 (diff)
vcl: cleanup scheduler debug name usage.
Change-Id: I94975d220452ca91cbbd9db5e7895fa0b3a88e4a
Diffstat (limited to 'vcl/inc/saltimer.hxx')
-rw-r--r--vcl/inc/saltimer.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/inc/saltimer.hxx b/vcl/inc/saltimer.hxx
index 04427ad5e769..6bd3e076c7a8 100644
--- a/vcl/inc/saltimer.hxx
+++ b/vcl/inc/saltimer.hxx
@@ -67,6 +67,9 @@ struct ImplSchedulerData
void Invoke();
+ const char *GetDebugName() const
+ { return mpScheduler && mpScheduler->GetDebugName() ?
+ mpScheduler->GetDebugName() : "unknown"; }
static ImplSchedulerData *GetMostImportantTask( bool bTimer );
};