Remove unused static function systemtimeToMsecs()

See also commit 660aed3516f91c that removed the reverse method.

Change-Id: Ib20c5be863ba6644485c581e3ece47a390ce467d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
Kai Koehne 2013-10-28 09:47:34 +01:00 committed by The Qt Project
parent 269590516d
commit eb921e6edc

View File

@ -106,14 +106,6 @@ static QDate msecsToDate(qint64 msecs)
return QDate::fromJulianDay(jd);
}
static qint64 systemtimeToMsecs(const SYSTEMTIME &systemtime)
{
FILETIME utcFileTime;
SystemTimeToFileTime(&systemtime, &utcFileTime);
ULONGLONG utcNSecs = (((ULONGLONG) utcFileTime.dwHighDateTime) << 32) + utcFileTime.dwLowDateTime;
return (utcNSecs - FILETIME_UNIX_EPOCH) / 10000;
}
static bool equalSystemtime(const SYSTEMTIME &t1, const SYSTEMTIME &t2)
{
return (t1.wYear == t2.wYear