summaryrefslogtreecommitdiff
path: root/uui
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 /uui
parentb20ea84970fb8b3068880a361822941c47f50edd (diff)
get rid of class Date and Time default ctor with system time penalty
Diffstat (limited to 'uui')
-rw-r--r--uui/source/iahndl-ssl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/uui/source/iahndl-ssl.cxx b/uui/source/iahndl-ssl.cxx
index c57aa49007cd..74f70365a3fc 100644
--- a/uui/source/iahndl-ssl.cxx
+++ b/uui/source/iahndl-ssl.cxx
@@ -118,8 +118,8 @@ getLocalizedDatTimeStr(
util::DateTime const & rDateTime )
{
rtl::OUString aDateTimeStr;
- Date aDate;
- Time aTime;
+ Date aDate( Date::EMPTY );
+ Time aTime( Time::EMPTY );
aDate = Date( rDateTime.Day, rDateTime.Month, rDateTime.Year );
aTime = Time( rDateTime.Hours, rDateTime.Minutes, rDateTime.Seconds );