summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-10-13 21:28:41 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-10-14 05:36:12 +0000
commitf74a76391cc8c41514ead1698f92037081a2e257 (patch)
treeccb35e33a5d3446bc15565b7f4e79618656bf3f5 /fpicker
parentd800825f0d673071519846431e4113c1bd292482 (diff)
_OPENFILENAME_SIZE_VERISON_400 is unused
...since b30f91c58419e90a789f79a1391b13f2064997ab "Drop Win9x stuff" Change-Id: I4ef6b13865165c84288a77c83daf0758f5083810 Reviewed-on: https://gerrit.libreoffice.org/29793 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/win32/filepicker/FileOpenDlg.hxx17
1 files changed, 0 insertions, 17 deletions
diff --git a/fpicker/source/win32/filepicker/FileOpenDlg.hxx b/fpicker/source/win32/filepicker/FileOpenDlg.hxx
index 6d2d6553e50d..d3d09d5f1e34 100644
--- a/fpicker/source/win32/filepicker/FileOpenDlg.hxx
+++ b/fpicker/source/win32/filepicker/FileOpenDlg.hxx
@@ -32,10 +32,6 @@
// into our build environment if have stolen the definition
// for the new OPENFILENAME structure from the new headers
-#ifndef _CDSIZEOF_STRUCT
-#define _CDSIZEOF_STRUCT(structname, member) (((int)((LPBYTE)(&((structname*)0)->member) - ((LPBYTE)((structname*)0)))) + sizeof(((structname*)0)->member))
-#endif
-
typedef struct _tagOFNA {
DWORD lStructSize;
HWND hwndOwner;
@@ -100,19 +96,6 @@ typedef _OPENFILENAMEA _OPENFILENAME;
typedef _LPOPENFILENAMEA _LPOPENFILENAME;
#endif // UNICODE
-#if (_WIN32_WINNT >= 0x0500)
- #define _OPENFILENAME_SIZE_VERSION_400A _CDSIZEOF_STRUCT(_OPENFILENAMEA,lpTemplateName)
- #define _OPENFILENAME_SIZE_VERSION_400W _CDSIZEOF_STRUCT(_OPENFILENAMEW,lpTemplateName)
- #ifdef UNICODE
- #define _OPENFILENAME_SIZE_VERSION_400 _OPENFILENAME_SIZE_VERSION_400W
- #else
- #define _OPENFILENAME_SIZE_VERSION_400 _OPENFILENAME_SIZE_VERSION_400A
- #endif // !UNICODE
-#else
- #error _WIN32_WINNT seems not to be valid.
-#endif // (_WIN32_WINNT >= 0x0500)
-
-
// A simple wrapper class around the Win32 GetOpenFileName API.
// This class is not thread-safe and only one instance at a
// time is allowed