From cc4352ccdd5dcdf055a67accc6e74b3ee81ec28c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 19 Dec 2018 09:52:43 +0000 Subject: set explicit color for font feature preview bg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ia7e8e6e6d7b8297063798aaf63111490f356c5c9 Reviewed-on: https://gerrit.libreoffice.org/65411 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- cui/source/dialogs/FontFeaturesDialog.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cui') diff --git a/cui/source/dialogs/FontFeaturesDialog.cxx b/cui/source/dialogs/FontFeaturesDialog.cxx index 6340c0c8c9e2..5e5d793228e9 100644 --- a/cui/source/dialogs/FontFeaturesDialog.cxx +++ b/cui/source/dialogs/FontFeaturesDialog.cxx @@ -10,6 +10,7 @@ #include #include +#include #include #include @@ -24,6 +25,9 @@ FontFeaturesDialog::FontFeaturesDialog(weld::Window* pParent, OUString const& rF , m_xContentGrid(m_xBuilder->weld_container("contentGrid")) , m_xPreviewWindow(new weld::CustomWeld(*m_xBuilder, "preview", m_aPreviewWindow)) { + svtools::ColorConfig aColorConfig; + Color aFillColor(aColorConfig.GetColorValue(svtools::DOCCOLOR).nColor); + m_aPreviewWindow.SetBackColor(aFillColor); initialize(); } -- cgit