summaryrefslogtreecommitdiffstats
path: root/src/libs/7zip/win/CPP/Windows/NationalTime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/7zip/win/CPP/Windows/NationalTime.cpp')
-rw-r--r--src/libs/7zip/win/CPP/Windows/NationalTime.cpp37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/libs/7zip/win/CPP/Windows/NationalTime.cpp b/src/libs/7zip/win/CPP/Windows/NationalTime.cpp
deleted file mode 100644
index c231d3ced..000000000
--- a/src/libs/7zip/win/CPP/Windows/NationalTime.cpp
+++ /dev/null
@@ -1,37 +0,0 @@
-// Windows/NationalTime.cpp
-
-#include "StdAfx.h"
-
-#include "Windows/NationalTime.h"
-
-namespace NWindows {
-namespace NNational {
-namespace NTime {
-
-bool MyGetTimeFormat(LCID locale, DWORD flags, CONST SYSTEMTIME *time,
- LPCTSTR format, CSysString &resultString)
-{
- resultString.Empty();
- int numChars = ::GetTimeFormat(locale, flags, time, format, NULL, 0);
- if (numChars == 0)
- return false;
- numChars = ::GetTimeFormat(locale, flags, time, format,
- resultString.GetBuffer(numChars), numChars + 1);
- resultString.ReleaseBuffer();
- return (numChars != 0);
-}
-
-bool MyGetDateFormat(LCID locale, DWORD flags, CONST SYSTEMTIME *time,
- LPCTSTR format, CSysString &resultString)
-{
- resultString.Empty();
- int numChars = ::GetDateFormat(locale, flags, time, format, NULL, 0);
- if (numChars == 0)
- return false;
- numChars = ::GetDateFormat(locale, flags, time, format,
- resultString.GetBuffer(numChars), numChars + 1);
- resultString.ReleaseBuffer();
- return (numChars != 0);
-}
-
-}}}