From 9d6c5f13ff031c18d3c117e4de212e2550d24e8c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 15 Feb 2023 11:30:01 +0200 Subject: tdf#153172 Options > Charts > Default Colors no longer persistent regression from commit b95142c11e80c58b70dff68bfd7f3792657b9ee2 Author: Noel Grandin 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 --- cui/source/options/optchart.cxx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'cui/source/options') 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() -- cgit