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 --- idlc/source/astdump.cxx | 2 +- idlc/source/options.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'idlc') diff --git a/idlc/source/astdump.cxx b/idlc/source/astdump.cxx index 3d9f472f2c4a..f3e82bda03a0 100644 --- a/idlc/source/astdump.cxx +++ b/idlc/source/astdump.cxx @@ -197,7 +197,7 @@ bool AstService::dump(RegistryKey& rKey) getRealService()->getRelativName(); break; } - SAL_FALLTHROUGH; + [[fallthrough]]; case NT_interface_member: case NT_observes: case NT_needs: diff --git a/idlc/source/options.cxx b/idlc/source/options.cxx index b4b7584af060..d1dbe1a8680c 100644 --- a/idlc/source/options.cxx +++ b/idlc/source/options.cxx @@ -144,7 +144,7 @@ bool Options::checkCommandFile (std::vector< std::string > & rArgs, char const * } break; } - SAL_FALLTHROUGH; + [[fallthrough]]; default: buffer.push_back(sal::static_int_cast(c)); break; -- cgit