[Libreoffice-commits] core.git: canvas/source

David Ostrovsky david at ostrovsky.org
Thu Feb 25 12:18:37 UTC 2016


 canvas/source/directx/dx_winstuff.hxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit d375cafef68e8be9d0d35cbb535b8481a3913ace
Author: David Ostrovsky <david at ostrovsky.org>
Date:   Sat Feb 20 15:17:42 2016 +0100

    werror: declaration hides previous declaration
    
    Change-Id: I0f8422a4f8c27ec253d917985d2593d8d87bb5f0
    Reviewed-on: https://gerrit.libreoffice.org/22685
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    Tested-by: Michael Stahl <mstahl at redhat.com>

diff --git a/canvas/source/directx/dx_winstuff.hxx b/canvas/source/directx/dx_winstuff.hxx
index 0d629b4..021f827 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
 


More information about the Libreoffice-commits mailing list