cppcheck: multiCondition
style Expression is always false because 'else if' condition matches previous condition See http://nabble.documentfoundation.org/Cppcheck-reports-else-if-condition-matches-previous-condition-svx-td4104268.html Change-Id: I00a41a3ffc6aafd9aee6da09ab2372f155529263
This commit is contained in:
@@ -457,10 +457,6 @@ uno::Reference< uno::XInterface > SAL_CALL SvxUnoDrawingModel::createInstance( c
|
||||
{
|
||||
nType = OBJ_OLE2;
|
||||
}
|
||||
else if( aTypeName.startsWith( "TableShape" ) )
|
||||
{
|
||||
nType = OBJ_OLE2;
|
||||
}
|
||||
else if( aTypeName.startsWith( "OrgChartShape" ) )
|
||||
{
|
||||
nType = OBJ_OLE2;
|
||||
|
Reference in New Issue
Block a user