diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-06 15:02:00 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-06 15:31:16 +0200 |
commit | 94ebb584439f40dee356740070f292b2e7996f4b (patch) | |
tree | 3d7d2da3193a56a45d140681173e157127490b48 /chart2/source/tools/DataSeriesHelper.cxx | |
parent | e8233e1510cf9f16a42feb5d60e5fdfda4f921fc (diff) |
clang-analyzer-deadcode.DeadStores
Change-Id: If852229c04eb5787fb017cf13f483d406d60bf07
Diffstat (limited to 'chart2/source/tools/DataSeriesHelper.cxx')
-rw-r--r-- | chart2/source/tools/DataSeriesHelper.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/chart2/source/tools/DataSeriesHelper.cxx b/chart2/source/tools/DataSeriesHelper.cxx index 43291616b047..6cea3031b228 100644 --- a/chart2/source/tools/DataSeriesHelper.cxx +++ b/chart2/source/tools/DataSeriesHelper.cxx @@ -423,11 +423,9 @@ void setStackModeAtSeries( if( xCorrespondingCoordinateSystem.is() && 1 < xCorrespondingCoordinateSystem->getDimension() ) { - sal_Int32 nAxisIndexCount = aAxisIndexSet.size(); - if( !nAxisIndexCount ) + if( aAxisIndexSet.empty() ) { aAxisIndexSet.insert(0); - nAxisIndexCount = aAxisIndexSet.size(); } for( ::std::set< sal_Int32 >::const_iterator aIt = aAxisIndexSet.begin(); |