summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@digia.com>2013-10-28 09:47:34 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-28 12:05:22 +0100
commiteb921e6edc3906ac90e8155f063b6c71df6386be (patch)
treeb37f99287590f9427e11535986ff433572034726 /src/corelib
parent269590516d89a35ea3121366f7d4bf43b0d391ca (diff)
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>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/tools/qtimezoneprivate_win.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/corelib/tools/qtimezoneprivate_win.cpp b/src/corelib/tools/qtimezoneprivate_win.cpp
index c219a49e1e..efdd6676fb 100644
--- a/src/corelib/tools/qtimezoneprivate_win.cpp
+++ b/src/corelib/tools/qtimezoneprivate_win.cpp
@@ -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