Remove unused static function msecsToSystemtime() from qtimezoneprivate_win.cpp.

Change-Id: I8d6b4c9215fb4499affefd0b892cea1b77aa8ac9
Reviewed-by: John Layt <jlayt@kde.org>
This commit is contained in:
Friedemann Kleint 2013-09-30 11:47:27 +02:00 committed by The Qt Project
parent 999e5162ec
commit 660aed3516

View File

@ -106,17 +106,6 @@ static QDate msecsToDate(qint64 msecs)
return QDate::fromJulianDay(jd);
}
static SYSTEMTIME msecsToSystemtime(qint64 forMSecsSinceEpoch)
{
FILETIME utcFileTime;
ULONGLONG nsecs = (forMSecsSinceEpoch * 10000 ) + FILETIME_UNIX_EPOCH;
utcFileTime.dwLowDateTime = (DWORD) (nsecs & 0xFFFFFFFF);
utcFileTime.dwHighDateTime = (DWORD) (nsecs >> 32);
SYSTEMTIME utcTime;
FileTimeToSystemTime(&utcFileTime, &utcTime);
return utcTime;
}
static qint64 systemtimeToMsecs(const SYSTEMTIME &systemtime)
{
FILETIME utcFileTime;