tdf#157067: Fix missing background color in style preview
commitb44af80f0aa1ce93193f0edb107f17edbabba17a
authorKhaled Hosny <khaled@libreoffice.org>
Sun, 24 Sep 2023 15:10:21 +0000 (24 18:10 +0300)
committerMichael Stahl <michael.stahl@allotropia.de>
Mon, 25 Sep 2023 11:33:15 +0000 (25 13:33 +0200)
tree69d4ac3aba23817064fb861c4f98266a4bc66039
parentd7443d6a3191e37e1e2ad2f2f2d9310e0198b9bf
tdf#157067: Fix missing background color in style preview

Set the colors after setting the font not before as otherwise they seem
to get overridden.

Change-Id: I258cb762fd2328369bd8adae63e94ec87c666bb7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157208
Tested-by: Jenkins
Reviewed-by: خالد حسني <khaled@libreoffice.org>
(cherry picked from commit 841d4634d3c1be48e8106899275f0ef176a377ce)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157211
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
svx/source/styles/CommonStylePreviewRenderer.cxx