diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-24 22:00:04 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-28 08:44:35 +0100 |
commit | 9bed5b335ac0720175a3e316b497920e3e3c5aa1 (patch) | |
tree | c9f622d903c0b633ec9b652a92c09e45fd88301b /vcl/opengl | |
parent | 1cb6ab10f9ace1ce34b72de096885d529fe0d5d0 (diff) |
-Werror,-Wdeprecated-declarations
Change-Id: I3767aee8c4272f971817757498f05494706ddd0b
Diffstat (limited to 'vcl/opengl')
-rw-r--r-- | vcl/opengl/win/WinDeviceInfo.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/opengl/win/WinDeviceInfo.cxx b/vcl/opengl/win/WinDeviceInfo.cxx index c3d9ba076742..45778249ef6f 100644 --- a/vcl/opengl/win/WinDeviceInfo.cxx +++ b/vcl/opengl/win/WinDeviceInfo.cxx @@ -244,7 +244,9 @@ int32_t WindowsOSVersion() vinfo.dwOSVersionInfoSize = sizeof (vinfo); #pragma warning(push) #pragma warning(disable:4996) + SAL_WNODEPRECATED_DECLARATIONS_PUSH if (!GetVersionEx(&vinfo)) + SAL_WNODEPRECATED_DECLARATIONS_POP { #pragma warning(pop) winVersion = kWindowsUnknown; |