summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorDavid Ostrovsky <david@ostrovsky.org>2016-02-20 15:17:42 +0100
committerMichael Stahl <mstahl@redhat.com>2016-02-25 12:18:07 +0000
commitd375cafef68e8be9d0d35cbb535b8481a3913ace (patch)
treea831cffb138e08f339114ed650809281d1d20978 /canvas
parentfbe9f840d541eab1a47a457c00fef00441f52364 (diff)
werror: declaration hides previous declaration
Change-Id: I0f8422a4f8c27ec253d917985d2593d8d87bb5f0 Reviewed-on: https://gerrit.libreoffice.org/22685 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/directx/dx_winstuff.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/canvas/source/directx/dx_winstuff.hxx b/canvas/source/directx/dx_winstuff.hxx
index 0d629b431d76..021f82798b18 100644
--- a/canvas/source/directx/dx_winstuff.hxx
+++ b/canvas/source/directx/dx_winstuff.hxx
@@ -49,8 +49,13 @@ 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