diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx index 41ef9f0d992d..2f2a80a31a55 100644 --- a/editeng/source/items/numitem.cxx +++ b/editeng/source/items/numitem.cxx @@ -549,8 +549,8 @@ OUString SvxNumberFormat::CreateRomanString( sal_uLong nNo, bool bUpper ) } switch( nZahl ) { - case 3: { sRet += OUString(*cRomanArr); } - case 2: { sRet += OUString(*cRomanArr); } + case 3: { sRet += OUString(*cRomanArr); SAL_FALLTHROUGH; } + case 2: { sRet += OUString(*cRomanArr); SAL_FALLTHROUGH; } case 1: { sRet += OUString(*cRomanArr); } break; diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx index e6db1ab89dbc..91a8ad10d2dc 100644 --- a/editeng/source/uno/unotext.cxx +++ b/editeng/source/uno/unotext.cxx @@ -1911,6 +1911,7 @@ void SAL_CALL SvxUnoTextBase::insertControlCharacter( const uno::Reference< text return; } + SAL_FALLTHROUGH; } default: throw lang::IllegalArgumentException();