diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-02-15 11:30:01 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-02-15 14:30:58 +0000 |
commit | ba52bd3c43ab786224f4bf24be1a140a7c3bb536 (patch) | |
tree | 2025180d8b98439d2dc23dd15969ec401cb1c495 | |
parent | 80cb24c37bba6ebbcd711d03e57a39b4827f3904 (diff) |
tdf#153172 Options > Charts > Default Colors no longer persistent
regression from
commit b95142c11e80c58b70dff68bfd7f3792657b9ee2
Author: Noel Grandin <noelgrandin@gmail.com>
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 <noel.grandin@collabora.co.uk>
(cherry picked from commit 9d6c5f13ff031c18d3c117e4de212e2550d24e8c)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147061
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
-rw-r--r-- | cui/source/options/optchart.cxx | 11 |
1 files changed, 1 insertions, 10 deletions
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() |