summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterTimer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterTimer.cxx')
-rw-r--r--sdext/source/presenter/PresenterTimer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdext/source/presenter/PresenterTimer.cxx b/sdext/source/presenter/PresenterTimer.cxx
index 0ecbad47da14..356b3751c2e2 100644
--- a/sdext/source/presenter/PresenterTimer.cxx
+++ b/sdext/source/presenter/PresenterTimer.cxx
@@ -220,7 +220,7 @@ SharedTimerTask TimerScheduler::CreateTimerTask (
void TimerScheduler::ScheduleTask (const SharedTimerTask& rpTask)
{
- if (rpTask.get() == nullptr)
+ if (!rpTask)
return;
if (rpTask->mbIsCanceled)
return;
@@ -326,7 +326,7 @@ void SAL_CALL TimerScheduler::run()
mpCurrentTask = pTask;
}
- if (pTask.get() == nullptr)
+ if (!pTask)
{
// Wait until the first task becomes due.
TimeValue aTimeValue;