summaryrefslogtreecommitdiff
path: root/oox/source/token/tokenmap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/token/tokenmap.cxx')
-rw-r--r--oox/source/token/tokenmap.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/oox/source/token/tokenmap.cxx b/oox/source/token/tokenmap.cxx
index fb96c37fe3a3..549c40fec7b3 100644
--- a/oox/source/token/tokenmap.cxx
+++ b/oox/source/token/tokenmap.cxx
@@ -31,17 +31,16 @@ using ::com::sun::star::uno::Sequence;
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
TokenMap::TokenMap() :