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:
Julien Nabet
2014-04-08 20:46:56 +02:00
parent 385e6e508a
commit e7d646b46e

View File

@@ -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;