cui/source/options/optchart.cxx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-)
New commits: commit ffed1616ef4da1248ac64559064d014aa028467b Author: Noel Grandin <[email protected]> AuthorDate: Wed Feb 15 11:30:01 2023 +0200 Commit: Christian Lohmaier <[email protected]> CommitDate: Wed Feb 15 16:08:08 2023 +0000 tdf#153172 Options > Charts > Default Colors no longer persistent regression from commit b95142c11e80c58b70dff68bfd7f3792657b9ee2 Author: Noel Grandin <[email protected]> Date: Mon Jun 20 19:17:00 2022 +0200 tdf#58134 Reset Button in Options Dialogs Change-Id: Idef9880e29c322ae2d11641354baf8a241fc7fb0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147049 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> (cherry picked from commit 9d6c5f13ff031c18d3c117e4de212e2550d24e8c) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147062 Reviewed-by: Christian Lohmaier <[email protected]> diff --git a/cui/source/options/optchart.cxx b/cui/source/options/optchart.cxx index 9b1e6c9c92f2..af9b92322802 100644 --- a/cui/source/options/optchart.cxx +++ b/cui/source/options/optchart.cxx @@ -157,16 +157,7 @@ bool SvxDefaultColorOptPage::FillItemSet( SfxItemSet* rOutAttrs ) void SvxDefaultColorOptPage::Reset( const SfxItemSet* ) { - if( m_SvxChartColorTableUniquePtr ) - { - m_SvxChartColorTableUniquePtr->useDefault(); - - FillBoxChartColorLB(); - - m_xLbChartColors->grab_focus(); - m_xLbChartColors->select( 0 ); - m_xPBRemove->set_sensitive(true); - } + m_xLbChartColors->select( 0 ); } void SvxDefaultColorOptPage::FillPaletteLB()
