From 87d41e3b7d0cf000346ec412ae5af10a6d162849 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Wed, 25 Nov 2015 21:38:34 +0000 Subject: vcl: cleanup scheduler debug name usage. Change-Id: I94975d220452ca91cbbd9db5e7895fa0b3a88e4a --- vcl/inc/saltimer.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vcl/inc') 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 ); }; -- cgit