diff options
author | Caolán McNamara <caolanm@redhat.com> | 2023-01-02 19:16:54 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2023-01-04 14:05:46 +0000 |
commit | bd5cc6a50f2acdabc1c93bd49ce52c79a70c2144 (patch) | |
tree | 732a2735087656511f65fb0f9b3fa9396c48e373 /sd/qa/unit/uiimpress.cxx | |
parent | ef533553559fe09b4afab651fc692885d1acf4ed (diff) |
Related: tdf#150339 remove SID_ATTR_COLOR_STR
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 <caolanm@redhat.com>
Diffstat (limited to 'sd/qa/unit/uiimpress.cxx')
-rw-r--r-- | sd/qa/unit/uiimpress.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
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<beans::PropertyValue> aPropertyValues(comphelper::InitPropertySequence({ - { "ColorString", uno::Any(OUString("ff0000")) }, - })); - + uno::Sequence<beans::PropertyValue> aPropertyValues = { + comphelper::makePropertyValue("FillColor", static_cast<sal_Int32>(0xff0000)), + }; dispatchCommand(mxComponent, ".uno:FillPageColor", aPropertyValues); SdPage* pPage = pViewShell->getCurrentPage(); |