From 7c10e3b120ba75a2db75342fdc68040a179404b8 Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Mon, 12 Dec 2022 22:26:41 +0900 Subject: sw: add the ColorSet from SdrPage into ColorSets in ThemePanel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I7c4ef103b2be65a8adbad5d4f00304ee22be668f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143997 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- svx/source/styles/ColorSets.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'svx/source/styles') diff --git a/svx/source/styles/ColorSets.cxx b/svx/source/styles/ColorSets.cxx index bb8009fdc5be..5511253f3d03 100644 --- a/svx/source/styles/ColorSets.cxx +++ b/svx/source/styles/ColorSets.cxx @@ -238,6 +238,11 @@ const ColorSet& ColorSets::getColorSet(std::u16string_view rName) return maColorSets[0]; } +void ColorSets::insert(ColorSet const& rColorSet) +{ + maColorSets.push_back(rColorSet); +} + Theme::Theme(OUString const& rName) : maName(rName) { -- cgit