Kaydet (Commit) 0dd48cb9 authored tarafından Mike Kaganski's avatar Mike Kaganski

vcl: MSVC: pragma warning: make more specific, remove obsolete

Change-Id: Ib2d89cfba3ad625779ee501a7caaa94893d8c681
Reviewed-on: https://gerrit.libreoffice.org/49057Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
üst 5ab1d6f5
......@@ -41,8 +41,8 @@ extern "C" {
#define WarningLimit 1000
#ifdef _MSC_VER
#pragma warning(push, 1) /* disable to __declspec(align()) aligned warning */
#pragma warning (disable: 4324)
#pragma warning(push)
#pragma warning (disable: 4324) /* disable to __declspec(align()) aligned warning */
#endif
struct ErrorManagerStruct
......
......@@ -58,11 +58,6 @@
#endif
#endif
#if defined _MSC_VER
#pragma warning(push, 1)
#pragma warning( disable: 4917 )
#endif
#include <prewin.h>
#include <gdiplus.h>
......@@ -70,10 +65,6 @@
#include <postwin.h>
#if defined _MSC_VER
#pragma warning(pop)
#endif
void SalAbort( const OUString& rErrorText, bool )
{
ImplFreeSalGDI();
......
......@@ -51,10 +51,6 @@
#include <vcl/wrkwin.hxx>
#include <vcl/svapp.hxx>
// Warning in SDK header
#ifdef _MSC_VER
#pragma warning( disable: 4242 )
#endif
#include <win/wincomp.hxx>
#include <win/salids.hrc>
#include <win/saldata.hxx>
......@@ -74,7 +70,7 @@
#define COMPILE_MULTIMON_STUBS
#pragma warning(push)
#pragma warning(disable:4996)
#pragma warning(disable:4996) // 'GetVersionExA': was declared deprecated
#include <multimon.h>
#pragma warning(pop)
#include <vector>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment