diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-19 17:49:28 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-19 17:49:28 +0200 |
commit | 4180210a27240e01c9a0db0688d51b1449e4c4b8 (patch) | |
tree | 0a3b7c356d3257296702847c7a0f63d6a948b03e /cui/source/options/optchart.cxx | |
parent | 25c047fec71050bcedc6c9d355f35486f615c3c4 (diff) |
loplugin:defaultparams
Change-Id: Ia4cd4faaffaf42555b16ada5e259e85ddb496236
Diffstat (limited to 'cui/source/options/optchart.cxx')
-rw-r--r-- | cui/source/options/optchart.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/options/optchart.cxx b/cui/source/options/optchart.cxx index 555915e9743d..44624ddcecb0 100644 --- a/cui/source/options/optchart.cxx +++ b/cui/source/options/optchart.cxx @@ -190,7 +190,7 @@ IMPL_LINK_NOARG_TYPED(SvxDefaultColorOptPage, ResetToDefaults, Button*, void) m_pLbChartColors->GetFocus(); m_pLbChartColors->SelectEntryPos( 0 ); - m_pPBRemove->Enable( true ); + m_pPBRemove->Enable(); } } @@ -209,7 +209,7 @@ IMPL_LINK_NOARG_TYPED(SvxDefaultColorOptPage, AddChartColor, Button*, void) m_pLbChartColors->GetFocus(); m_pLbChartColors->SelectEntryPos( pColorConfig->GetColorList().size() - 1 ); - m_pPBRemove->Enable( true ); + m_pPBRemove->Enable(); } } @@ -242,7 +242,7 @@ IMPL_LINK_TYPED( SvxDefaultColorOptPage, RemoveChartColor, Button*, pButton, voi else if (m_pLbChartColors->GetEntryCount() > 0) m_pLbChartColors->SelectEntryPos( nIndex ); else - m_pPBRemove->Enable(true); + m_pPBRemove->Enable(); } } } |