summaryrefslogtreecommitdiff
path: root/tools/source/datetime
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 /tools/source/datetime
parentb20ea84970fb8b3068880a361822941c47f50edd (diff)
get rid of class Date and Time default ctor with system time penalty
Diffstat (limited to 'tools/source/datetime')
-rw-r--r--tools/source/datetime/tdate.cxx2
-rw-r--r--tools/source/datetime/ttime.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/datetime/tdate.cxx b/tools/source/datetime/tdate.cxx
index 5deef5250b24..c9614d2de759 100644
--- a/tools/source/datetime/tdate.cxx
+++ b/tools/source/datetime/tdate.cxx
@@ -137,7 +137,7 @@ static void DaysToDate( long nDays,
// =======================================================================
-Date::Date()
+Date::Date( DateInitSystem )
{
#if defined WNT
SYSTEMTIME aDateTime;
diff --git a/tools/source/datetime/ttime.cxx b/tools/source/datetime/ttime.cxx
index 13f68fb2d4f4..015ab374760c 100644
--- a/tools/source/datetime/ttime.cxx
+++ b/tools/source/datetime/ttime.cxx
@@ -86,7 +86,7 @@ static Time Sec100ToTime( sal_Int32 nSec100 )
// =======================================================================
-Time::Time()
+Time::Time( TimeInitSystem )
{
#if defined( WNT )
SYSTEMTIME aDateTime;