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

Mohammed Abdul Azeem azeemmysore at gmail.com
Tue Aug 16 20:50:14 UTC 2016


 xmloff/source/core/fasttokenhandler.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 84d9a3642c62d930f4064536659c76a48b9f337e
Author: Mohammed Abdul Azeem <azeemmysore at gmail.com>
Date:   Tue Aug 16 22:48:42 2016 +0200

    GSoC - fix build of fasttokenhandler
    
    Change-Id: If561895da71e08bd9e58fce281c412d9f9206cad

diff --git a/xmloff/source/core/fasttokenhandler.cxx b/xmloff/source/core/fasttokenhandler.cxx
index 0b9125d..722584c 100644
--- a/xmloff/source/core/fasttokenhandler.cxx
+++ b/xmloff/source/core/fasttokenhandler.cxx
@@ -14,18 +14,18 @@
 namespace xmloff {
 
 namespace {
+// include auto-generated Perfect_Hash
 #if defined __clang__
-#if __has_warning("-Wdeprecated-register")
 #pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
+#if __has_warning("-Wdeprecated-register")
 #pragma GCC diagnostic ignored "-Wdeprecated-register"
 #endif
 #endif
 #include "tokenhash.inc"
 #if defined __clang__
-#if __has_warning("-Wdeprecated-register")
 #pragma GCC diagnostic pop
 #endif
-#endif
 } // namespace
 
 namespace token {


More information about the Libreoffice-commits mailing list