summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorMohammed Abdul Azeem <azeemmysore@gmail.com>2016-08-16 22:48:42 +0200
committerEike Rathke <erack@redhat.com>2016-08-16 22:49:50 +0200
commit84d9a3642c62d930f4064536659c76a48b9f337e (patch)
treeacaca66f9e04bd23ecbbe12e2ae26441cfa83d37 /xmloff
parentf577a422079c5333caa52e69ad09eb2b83de9134 (diff)
GSoC - fix build of fasttokenhandler
Change-Id: If561895da71e08bd9e58fce281c412d9f9206cad
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/fasttokenhandler.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/core/fasttokenhandler.cxx b/xmloff/source/core/fasttokenhandler.cxx
index 0b9125dab279..722584cd4a5e 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 {