diff options
Diffstat (limited to 'sdext/source/presenter/PresenterTimer.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterTimer.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sdext/source/presenter/PresenterTimer.cxx b/sdext/source/presenter/PresenterTimer.cxx index 0af44829382b..dd0e671080ed 100644 --- a/sdext/source/presenter/PresenterTimer.cxx +++ b/sdext/source/presenter/PresenterTimer.cxx @@ -23,7 +23,6 @@ #include <osl/doublecheckedlocking.h> #include <osl/thread.hxx> #include <boost/bind.hpp> -#include <boost/function.hpp> #include <boost/enable_shared_from_this.hpp> #include <set> #include <iterator> @@ -274,8 +273,7 @@ void SAL_CALL TimerScheduler::run() else { // Execute task. - if ( ! pTask->maTask.empty() - && ! pTask->mbIsCanceled) + if (pTask->maTask && !pTask->mbIsCanceled) { pTask->maTask(aCurrentTime); |