summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-02-11 15:56:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-02-12 10:31:25 +0100
commitf147b160aef1735d34c488353a7d4b875788a7e1 (patch)
treeab3bd613cf016cde906b3fdcbaab4246ca699e1e /chart2
parent718f540fb63af27c1336f89213444e9af753b8a9 (diff)
clang-analyzer-deadcode.DeadStores
Change-Id: Ifa384933569b27d0d08eb479bb95b799163ae386 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88450 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/dialogs/tp_AxisPositions.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/chart2/source/controller/dialogs/tp_AxisPositions.cxx b/chart2/source/controller/dialogs/tp_AxisPositions.cxx
index b3b49fa02df8..5cc4b41a099f 100644
--- a/chart2/source/controller/dialogs/tp_AxisPositions.cxx
+++ b/chart2/source/controller/dialogs/tp_AxisPositions.cxx
@@ -120,10 +120,6 @@ void AxisPositionsTabPage::Reset(const SfxItemSet* rInAttrs)
{
for( sal_Int32 nN=0; nN<m_aCategories.getLength(); nN++ )
m_xED_CrossesAtCategory->append_text(m_aCategories[nN]);
-
- sal_Int32 nCount = m_xED_CrossesAtCategory->get_count();
- if( nCount>30 )
- nCount=30;
}
if( m_xLB_CrossesAt->get_count() > 3 )