Add SAL_FALLTHROUGH, where apparently appropriate
Change-Id: I005943a7c7bc4f8bfc647b2cf44f143a66a7e997
This commit is contained in:
@@ -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;
|
||||
|
||||
|
@@ -1911,6 +1911,7 @@ void SAL_CALL SvxUnoTextBase::insertControlCharacter( const uno::Reference< text
|
||||
|
||||
return;
|
||||
}
|
||||
SAL_FALLTHROUGH;
|
||||
}
|
||||
default:
|
||||
throw lang::IllegalArgumentException();
|
||||
|
Reference in New Issue
Block a user