summaryrefslogtreecommitdiff
path: root/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-12 15:09:30 +0200
committerNoel Grandin <noel@peralex.com>2015-08-14 10:52:46 +0200
commit70a30fd179266f65500b880ccb0f87011b670fca (patch)
tree881d1723620d030171ff3de9bad2cc96f80994ed /chart2/source/controller/dialogs/tp_SeriesToAxis.cxx
parent9045d0bf35c9b4d5f6d8f791017124341abf8d4f (diff)
loplugin: defaultparams
Change-Id: I65c0ed65b20f606cf1409a3158ff1ef1e2d6cd9f
Diffstat (limited to 'chart2/source/controller/dialogs/tp_SeriesToAxis.cxx')
-rw-r--r--chart2/source/controller/dialogs/tp_SeriesToAxis.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx b/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx
index e6d372178752..06a4e5d3fbf5 100644
--- a/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx
+++ b/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx
@@ -141,14 +141,14 @@ void SchOptionTabPage::Reset(const SfxItemSet* rInAttrs)
{
const SfxPoolItem *pPoolItem = NULL;
- m_pRbtAxis1->Check(true);
+ m_pRbtAxis1->Check();
m_pRbtAxis2->Check(false);
if (rInAttrs->GetItemState(SCHATTR_AXIS,true, &pPoolItem) == SfxItemState::SET)
{
long nVal=static_cast<const SfxInt32Item*>(pPoolItem)->GetValue();
if(nVal==CHART_AXIS_SECONDARY_Y)
{
- m_pRbtAxis2->Check(true);
+ m_pRbtAxis2->Check();
m_pRbtAxis1->Check(false);
}
}
@@ -214,11 +214,11 @@ void SchOptionTabPage::Reset(const SfxItemSet* rInAttrs)
long nVal=static_cast<const SfxInt32Item*>(pPoolItem)->GetValue();
if(nVal==::com::sun::star::chart::MissingValueTreatment::LEAVE_GAP)
- m_pRB_DontPaint->Check(true);
+ m_pRB_DontPaint->Check();
else if(nVal==::com::sun::star::chart::MissingValueTreatment::USE_ZERO)
- m_pRB_AssumeZero->Check(true);
+ m_pRB_AssumeZero->Check();
else if(nVal==::com::sun::star::chart::MissingValueTreatment::CONTINUE)
- m_pRB_ContinueLine->Check(true);
+ m_pRB_ContinueLine->Check();
}
else
{