summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/servicemanager.cxx6
-rw-r--r--cppuhelper/source/typemanager.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/cppuhelper/source/servicemanager.cxx b/cppuhelper/source/servicemanager.cxx
index a9c06fa1bce9..d38e636d2fa9 100644
--- a/cppuhelper/source/servicemanager.cxx
+++ b/cppuhelper/source/servicemanager.cxx
@@ -188,7 +188,7 @@ Parser::Parser(
state = STATE_COMPONENTS;
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case STATE_COMPONENT_INITIAL:
if (res == xmlreader::XmlReader::Result::Begin && nsId == ucNsId
&& name.equals(RTL_CONSTASCII_STRINGPARAM("implementation")))
@@ -1341,7 +1341,7 @@ void cppuhelper::ServiceManager::readRdbDirectory(
SAL_INFO("cppuhelper", "Ignored optional " << uri);
return;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
default:
throw css::uno::DeploymentException(
"Cannot open directory " + uri,
@@ -1403,7 +1403,7 @@ bool cppuhelper::ServiceManager::readLegacyRdbFile(OUString const & uri) {
}
}
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
default:
return false;
}
diff --git a/cppuhelper/source/typemanager.cxx b/cppuhelper/source/typemanager.cxx
index 15702e624e59..a3153b7d6606 100644
--- a/cppuhelper/source/typemanager.cxx
+++ b/cppuhelper/source/typemanager.cxx
@@ -2035,7 +2035,7 @@ void cppuhelper::TypeManager::readRdbDirectory(
SAL_INFO("cppuhelper", "Ignored optional " << uri);
return;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
default:
throw css::uno::DeploymentException(
"Cannot open directory " + uri,