diff options
author | Rob Snelders <programming@ertai.nl> | 2012-04-04 19:57:05 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-05 15:24:05 +0100 |
commit | 45413e32fe643bda1cc1647c8af7eae3309e9c7d (patch) | |
tree | ca5048da979df4de0f5350f61bc301fc95ec0878 /sd/source/ui/tools | |
parent | 8ae3e12fa8f1a1410622bc2bea1eccdec86e0acf (diff) |
Removal VERBOSE
Diffstat (limited to 'sd/source/ui/tools')
-rw-r--r-- | sd/source/ui/tools/TimerBasedTaskExecution.cxx | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/sd/source/ui/tools/TimerBasedTaskExecution.cxx b/sd/source/ui/tools/TimerBasedTaskExecution.cxx index 33812c9e3c51..69f3a04416a2 100644 --- a/sd/source/ui/tools/TimerBasedTaskExecution.cxx +++ b/sd/source/ui/tools/TimerBasedTaskExecution.cxx @@ -32,8 +32,7 @@ #include <tools/time.hxx> #include <osl/diagnose.h> #include <boost/weak_ptr.hpp> - -#undef VERBOSE +#include "sal/log.hxx" namespace sd { namespace tools { @@ -148,23 +147,17 @@ IMPL_LINK_NOARG(TimerBasedTaskExecution, TimerCallback) // mnMaxTimePerStep. Note that the last step may take longer // than allowed. sal_uInt32 nStartTime (Time( Time::SYSTEM ).GetMSFromTime()); -#ifdef VERBOSE - OSL_TRACE("starting TimerBasedTaskExecution at %d", nStartTime); -#endif + SAL_INFO("sd.tools", OSL_THIS_FUNC << ": starting TimerBasedTaskExecution at " << nStartTime); do { mpTask->RunNextStep(); sal_uInt32 nDuration (Time( Time::SYSTEM ).GetMSFromTime()-nStartTime); -#ifdef VERBOSE - OSL_TRACE("executed step in %d", nDuration); -#endif + SAL_INFO("sd.tools", OSL_THIS_FUNC << ": executed step in " << nDuration); if (nDuration > mnMaxTimePerStep) break; } while (mpTask->HasNextStep()); -#ifdef VERBOSE - OSL_TRACE("TimerBasedTaskExecution sleeping"); -#endif + SAL_INFO("sd.tools", OSL_THIS_FUNC << ": TimerBasedTaskExecution sleeping"); maTimer.Start(); } else |