writerfilter/source/ooxml/factoryimpl_ns.py |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 5f8eb78d994e1329b9524a709480b71fa862ff6a
Author: Mike Kaganski <mike.kagan...@collabora.com>
Date:   Thu Sep 22 12:47:43 2016 +0300

    Silence some MSVC warnings for autogenerated files
    
    Change-Id: I8b4430f9f8282ef7a6b23964ca51d3444a450305
    Reviewed-on: https://gerrit.libreoffice.org/29174
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>
    Tested-by: Mike Kaganski <mike.kagan...@collabora.com>

diff --git a/writerfilter/source/ooxml/factoryimpl_ns.py 
b/writerfilter/source/ooxml/factoryimpl_ns.py
index 60437ba..cee40a7 100644
--- a/writerfilter/source/ooxml/factoryimpl_ns.py
+++ b/writerfilter/source/ooxml/factoryimpl_ns.py
@@ -706,7 +706,9 @@ def createImpl(modelNode, nsName):
 #include "oox/token/tokens.hxx"
 
 #ifdef _MSC_VER
+#pragma warning(disable:4060) // switch statement contains no 'case' or 
'default' labels
 #pragma warning(disable:4065) // switch statement contains 'default' but no 
'case' labels
+#pragma warning(disable:4702) // unreachable code
 #endif
 
 namespace writerfilter {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to