summaryrefslogtreecommitdiff
path: root/sd/source/ui/tools
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2011-12-01 21:03:42 +0100
committerEike Rathke <erack@redhat.com>2011-12-01 21:04:29 +0100
commit86adb5cacb4fe3e7fb869299447da5876f0da30d (patch)
treef7998dd1a12a82ca53a4fa155cdf5536ac25ef62 /sd/source/ui/tools
parentb20ea84970fb8b3068880a361822941c47f50edd (diff)
get rid of class Date and Time default ctor with system time penalty
Diffstat (limited to 'sd/source/ui/tools')
-rw-r--r--sd/source/ui/tools/TimerBasedTaskExecution.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/tools/TimerBasedTaskExecution.cxx b/sd/source/ui/tools/TimerBasedTaskExecution.cxx
index 42c1abc4b160..06061af5a251 100644
--- a/sd/source/ui/tools/TimerBasedTaskExecution.cxx
+++ b/sd/source/ui/tools/TimerBasedTaskExecution.cxx
@@ -147,14 +147,14 @@ IMPL_LINK(TimerBasedTaskExecution,TimerCallback, Timer*,EMPTYARG)
// Execute as many steps as fit into the time span of length
// mnMaxTimePerStep. Note that the last step may take longer
// than allowed.
- sal_uInt32 nStartTime (Time().GetMSFromTime());
+ sal_uInt32 nStartTime (Time( Time::SYSTEM ).GetMSFromTime());
#ifdef VERBOSE
OSL_TRACE("starting TimerBasedTaskExecution at %d", nStartTime);
#endif
do
{
mpTask->RunNextStep();
- sal_uInt32 nDuration (Time().GetMSFromTime()-nStartTime);
+ sal_uInt32 nDuration (Time( Time::SYSTEM ).GetMSFromTime()-nStartTime);
#ifdef VERBOSE
OSL_TRACE("executed step in %d", nDuration);
#endif