diff options
author | Eike Rathke <erack@redhat.com> | 2011-12-01 21:03:42 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2011-12-01 21:04:29 +0100 |
commit | 86adb5cacb4fe3e7fb869299447da5876f0da30d (patch) | |
tree | f7998dd1a12a82ca53a4fa155cdf5536ac25ef62 /l10ntools | |
parent | b20ea84970fb8b3068880a361822941c47f50edd (diff) |
get rid of class Date and Time default ctor with system time penalty
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/source/export2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/l10ntools/source/export2.cxx b/l10ntools/source/export2.cxx index 2acbede53c4a..fec515f2b888 100644 --- a/l10ntools/source/export2.cxx +++ b/l10ntools/source/export2.cxx @@ -382,9 +382,9 @@ ByteString Export::GetTimeStamp() { // return "xx.xx.xx"; char buf[20]; - Time aTime; + Time aTime( Time::SYSTEM ); - snprintf(buf, sizeof(buf), "%8d %02d:%02d:%02d", int(Date().GetDate()), + snprintf(buf, sizeof(buf), "%8d %02d:%02d:%02d", int(Date( Date::SYSTEM).GetDate()), int(aTime.GetHour()), int(aTime.GetMin()), int(aTime.GetSec())); return ByteString(buf); } |