chart2/source/controller/sidebar/ChartColorsPanel.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
New commits: commit 8686f289dfedb837be5e8c6273944960d1b8b481 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Sat May 17 16:24:07 2025 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Sat May 17 20:15:54 2025 +0200 cid#1646938 COPY_INSTEAD_OF_MOVE Change-Id: Ifea2dd63f0e10cf2440fddc1e0d5231f7da617f9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185448 Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> Tested-by: Jenkins diff --git a/chart2/source/controller/sidebar/ChartColorsPanel.cxx b/chart2/source/controller/sidebar/ChartColorsPanel.cxx index 3838ede4ff4b..33ee82fb812a 100644 --- a/chart2/source/controller/sidebar/ChartColorsPanel.cxx +++ b/chart2/source/controller/sidebar/ChartColorsPanel.cxx @@ -98,11 +98,8 @@ void ColorPaletteWrapper::updateModel(const rtl::Reference<ChartModel>& xModel) void ColorPaletteWrapper::updateData() const { - util::URL aUrl; - aUrl.Complete = sUnoChartColorPalette; - frame::FeatureStateEvent aEvent; - aEvent.FeatureURL = aUrl; + aEvent.FeatureURL.Complete = sUnoChartColorPalette; aEvent.IsEnabled = true; if (mpControl)