From bd5cc6a50f2acdabc1c93bd49ce52c79a70c2144 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 2 Jan 2023 19:16:54 +0000 Subject: Related: tdf#150339 remove SID_ATTR_COLOR_STR MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit re: https://gerrit.libreoffice.org/c/core/+/144866 "ColorString is not needed anymore (we used that in LOK previously)." Change-Id: I50a2f0e2ad254afb8ede33b05c89ae40bfeb4d3b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144967 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- sd/qa/unit/uiimpress.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sd/qa/unit/uiimpress.cxx') diff --git a/sd/qa/unit/uiimpress.cxx b/sd/qa/unit/uiimpress.cxx index 0235cada8194..f01f8e25108e 100644 --- a/sd/qa/unit/uiimpress.cxx +++ b/sd/qa/unit/uiimpress.cxx @@ -756,10 +756,9 @@ CPPUNIT_TEST_FIXTURE(SdUiImpressTest, testPageFillColor) // Set FillPageColor - uno::Sequence aPropertyValues(comphelper::InitPropertySequence({ - { "ColorString", uno::Any(OUString("ff0000")) }, - })); - + uno::Sequence aPropertyValues = { + comphelper::makePropertyValue("FillColor", static_cast(0xff0000)), + }; dispatchCommand(mxComponent, ".uno:FillPageColor", aPropertyValues); SdPage* pPage = pViewShell->getCurrentPage(); -- cgit