diff options
Diffstat (limited to 'cppuhelper')
-rw-r--r-- | cppuhelper/source/servicemanager.cxx | 6 | ||||
-rw-r--r-- | cppuhelper/source/typemanager.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cppuhelper/source/servicemanager.cxx b/cppuhelper/source/servicemanager.cxx index c3dfba461f9a..9e2a9a008f97 100644 --- a/cppuhelper/source/servicemanager.cxx +++ b/cppuhelper/source/servicemanager.cxx @@ -189,7 +189,7 @@ Parser::Parser( state = STATE_COMPONENTS; break; } - // fall through + SAL_FALLTHROUGH; case STATE_COMPONENT_INITIAL: if (res == xmlreader::XmlReader::RESULT_BEGIN && nsId == ucNsId && name.equals(RTL_CONSTASCII_STRINGPARAM("implementation"))) @@ -1433,7 +1433,7 @@ void cppuhelper::ServiceManager::readRdbDirectory( SAL_INFO("cppuhelper", "Ignored optional " << uri); return; } - // fall through + SAL_FALLTHROUGH; default: throw css::uno::DeploymentException( "Cannot open directory " + uri, @@ -1495,7 +1495,7 @@ bool cppuhelper::ServiceManager::readLegacyRdbFile(rtl::OUString const & uri) { } } } - // fall through + SAL_FALLTHROUGH; default: return false; } diff --git a/cppuhelper/source/typemanager.cxx b/cppuhelper/source/typemanager.cxx index 85ed6dc96c78..8fbee37ddcab 100644 --- a/cppuhelper/source/typemanager.cxx +++ b/cppuhelper/source/typemanager.cxx @@ -2125,7 +2125,7 @@ void cppuhelper::TypeManager::readRdbDirectory( SAL_INFO("cppuhelper", "Ignored optional " << uri); return; } - // fall through + SAL_FALLTHROUGH; default: throw css::uno::DeploymentException( "Cannot open directory " + uri, |