summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
authorBogdan Buzea <buzea.bogdan@libreoffice.org>2024-10-18 17:11:11 +0200
committerDavid Gilbert <freedesktop@treblig.org>2024-11-02 00:58:15 +0100
commit6ce9e887158c20c37dc0f5c06f1e236c007229af (patch)
tree61e96bea90dd4eaec1d887e31486f4ec9ba168c2 /chart2/source
parentdbf963f8995f3213b9c21b3893aa20c1cc5f0c27 (diff)
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>
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx
index 209300f2f682..6043c5ff298a 100644
--- a/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx
+++ b/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx
@@ -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;