From ab9b67bbb001f380b3973941443bfbc59fe7141c Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 8 Dec 2018 09:46:01 +0100 Subject: Remove obsolete SAL_FALLTHROUGH completely ...after 7ffdd830d5fb52f2ca25aa80277d22ea6d89970b "HAVE_CPP_ATTRIBUTE_FALLTHROUGH is always true now" Change-Id: I54e5ff4e036a6bb3e5774d1c0524158aae18e937 Reviewed-on: https://gerrit.libreoffice.org/64800 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- formula/source/core/api/FormulaCompiler.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'formula') diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx index e98d34a549e1..da1769d13b17 100644 --- a/formula/source/core/api/FormulaCompiler.cxx +++ b/formula/source/core/api/FormulaCompiler.cxx @@ -646,7 +646,7 @@ void FormulaCompiler::OpCodeMap::putOpCode( const OUString & rStr, const OpCode case ocGetDiffDate360: if (rStr == mpTable[eOp]) return; - SAL_FALLTHROUGH; + [[fallthrough]]; // These OpCodes are known to be added to an existing mapping, // but only for the OOXML external API mapping. This is *not* // FormulaLanguage::OOXML. Keep the first @@ -664,7 +664,7 @@ void FormulaCompiler::OpCodeMap::putOpCode( const OUString & rStr, const OpCode // Both bPutOp and bRemoveFromMap stay false. break; } - SAL_FALLTHROUGH; + [[fallthrough]]; default: SAL_WARN("formula.core", "OpCodeMap::putOpCode: reusing OpCode " << static_cast(eOp) -- cgit v1.2.3