summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2013-09-30 11:47:27 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-01 08:16:39 +0200
commit660aed3516f91c047383f9759c286e739da9222e (patch)
tree1163bcdcacb7ed7f14b5f9eaa2eb6adba350f3c7 /src
parent999e5162ec3e86c9cb84c3ec95dfd0ba4b21277f (diff)
Remove unused static function msecsToSystemtime() from qtimezoneprivate_win.cpp.
Change-Id: I8d6b4c9215fb4499affefd0b892cea1b77aa8ac9 Reviewed-by: John Layt <jlayt@kde.org>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/tools/qtimezoneprivate_win.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/corelib/tools/qtimezoneprivate_win.cpp b/src/corelib/tools/qtimezoneprivate_win.cpp
index 51300c0cad..c219a49e1e 100644
--- a/src/corelib/tools/qtimezoneprivate_win.cpp
+++ b/src/corelib/tools/qtimezoneprivate_win.cpp
@@ -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;