summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-01-31 11:38:14 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2018-02-01 06:52:48 +0100
commit3c879be2407a511717b74259f99575bf3c675764 (patch)
tree6b5971cb0e7281467aa16a3a2b2ca3c3658df576 /canvas
parent6b33a41fcce8e045e4dc9a6775084f8555afaf41 (diff)
canvas: MSVC: pragma warning: make more specific, remove obsolete
Change-Id: I0d23c789dd3cbb21a18383988dd6b24318fda225 Reviewed-on: https://gerrit.libreoffice.org/48959 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/directx/dx_winstuff.hxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/canvas/source/directx/dx_winstuff.hxx b/canvas/source/directx/dx_winstuff.hxx
index c2c4fd4fe4e3..c585071796e7 100644
--- a/canvas/source/directx/dx_winstuff.hxx
+++ b/canvas/source/directx/dx_winstuff.hxx
@@ -49,13 +49,8 @@ typedef IDirect3DSurface9 surface_type;
#define min(a,b) (((a) < (b)) ? (a) : (b))
#endif
-#pragma warning(push, 1)
-#pragma warning(disable: 4458)
-
#include <gdiplus.h>
-#pragma warning(pop)
-
#undef max
#undef min