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:
Bogdan Buzea 2024-10-18 17:11:11 +02:00 committed by David Gilbert
parent dbf963f899
commit 6ce9e88715

View file

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