summaryrefslogtreecommitdiff
path: root/tools/source
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source')
-rw-r--r--tools/source/datetime/tdate.cxx2
-rw-r--r--tools/source/datetime/ttime.cxx2
-rw-r--r--tools/source/inet/inetmsg.cxx6
3 files changed, 5 insertions, 5 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;
diff --git a/tools/source/inet/inetmsg.cxx b/tools/source/inet/inetmsg.cxx
index e0db5949e08e..f5fa071ad15a 100644
--- a/tools/source/inet/inetmsg.cxx
+++ b/tools/source/inet/inetmsg.cxx
@@ -398,7 +398,7 @@ sal_Bool INetRFC822Message::ParseDateField (
sal_uInt16 nOffset = ParseNumber (aDateField, nIndex);
if (nOffset > 0)
{
- Time aDiff;
+ Time aDiff( Time::EMPTY );
aDiff.SetHour (nOffset / 100);
aDiff.SetMin (nOffset % 100);
aDiff.SetSec (0);
@@ -418,7 +418,7 @@ sal_Bool INetRFC822Message::ParseDateField (
Time aDelta (0);
aDelta.SetTime (aDateField.toInt32() * 100);
- DateTime aNow;
+ DateTime aNow( DateTime::SYSTEM );
aNow += aDelta;
aNow.ConvertToUTC();
@@ -1112,7 +1112,7 @@ sal_Bool INetMIMEMessage::EnableAttachChild (INetMessageContainerType eType)
{
// Generate a unique boundary from current time.
sal_Char sTail[16 + 1];
- Time aCurTime;
+ Time aCurTime( Time::SYSTEM );
sal_uInt64 nThis = reinterpret_cast< sal_uIntPtr >( this ); // we can be on a 64bit architecture
nThis = ( ( nThis >> 32 ) ^ nThis ) & SAL_MAX_UINT32;
sprintf (sTail, "%08X%08X",