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