diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-02-15 11:30:01 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-02-15 12:07:21 +0000 |
commit | 9d6c5f13ff031c18d3c117e4de212e2550d24e8c (patch) | |
tree | 692f89092ca307854ae99ab9e62a227e62280447 /cui | |
parent | dab3de66e057f8d6794c427fb38cb2e333dfc93f (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>
Diffstat (limited to 'cui')
-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() |