tdf#163486: PVS: Identical branches
Change-Id: I2f34381ccf0e9649874652b382e43fbd1737577a V1037: Two or more case-branches perform the same actions. Check lines: 121, 127 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175147 Tested-by: Jenkins Reviewed-by: David Gilbert <freedesktop@treblig.org>
This commit is contained in:
parent
dbf963f899
commit
6ce9e88715
1 changed files with 1 additions and 3 deletions
|
@ -118,14 +118,12 @@ sal_Int32 lcl_getSymbolType( const css::chart2::Symbol& rSymbol )
|
|||
case chart2::SymbolStyle_NONE:
|
||||
break;
|
||||
case chart2::SymbolStyle_AUTO:
|
||||
case chart2::SymbolStyle_POLYGON://new feature
|
||||
nSymbol = css::chart::ChartSymbolType::AUTO;
|
||||
break;
|
||||
case chart2::SymbolStyle_STANDARD:
|
||||
nSymbol = rSymbol.StandardSymbol%15;
|
||||
break;
|
||||
case chart2::SymbolStyle_POLYGON://new feature
|
||||
nSymbol = css::chart::ChartSymbolType::AUTO;
|
||||
break;
|
||||
case chart2::SymbolStyle_GRAPHIC:
|
||||
nSymbol = css::chart::ChartSymbolType::BITMAPURL;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue