From bca11ff008b53764cf248eff485bdb24c41b6fa3 Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Wed, 31 Jan 2018 09:41:59 +0300 Subject: [PATCH] avmedia: MSVC: pragma warning: make more specific, remove obsolete Change-Id: I6274d563f9bb4f1f173d0d5d25239e5617ee064c Reviewed-on: https://gerrit.libreoffice.org/48946 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- avmedia/source/win/framegrabber.cxx | 7 ------- avmedia/source/win/player.cxx | 7 ------- avmedia/source/win/window.cxx | 8 +------- 3 files changed, 1 insertion(+), 21 deletions(-) diff --git a/avmedia/source/win/framegrabber.cxx b/avmedia/source/win/framegrabber.cxx index aa270660a7f4..fb0369d7c8cc 100644 --- a/avmedia/source/win/framegrabber.cxx +++ b/avmedia/source/win/framegrabber.cxx @@ -21,10 +21,6 @@ #include -#if defined _MSC_VER -#pragma warning(push, 1) -#pragma warning(disable: 4917) -#endif #include #include #include @@ -32,9 +28,6 @@ #include #include "interface.hxx" #include -#if defined _MSC_VER -#pragma warning(pop) -#endif #include "framegrabber.hxx" #include "player.hxx" diff --git a/avmedia/source/win/player.cxx b/avmedia/source/win/player.cxx index 4aef762f63bd..12e2abd65290 100644 --- a/avmedia/source/win/player.cxx +++ b/avmedia/source/win/player.cxx @@ -17,18 +17,11 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#if defined _MSC_VER -#pragma warning(push, 1) -#pragma warning(disable: 4917) -#endif #include #include #include #include #include -#if defined _MSC_VER -#pragma warning(pop) -#endif #include "player.hxx" #include "framegrabber.hxx" diff --git a/avmedia/source/win/window.cxx b/avmedia/source/win/window.cxx index a24682ae03bc..fd77cd80b118 100644 --- a/avmedia/source/win/window.cxx +++ b/avmedia/source/win/window.cxx @@ -17,17 +17,11 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#if defined _MSC_VER -#pragma warning(push, 1) -#pragma warning(disable: 4917) -#endif #include #include #include #include -#if defined _MSC_VER -#pragma warning(pop) -#endif + #include #include