[Libreoffice-commits] core.git: cui/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Dec 19 12:21:52 UTC 2018
cui/source/dialogs/FontFeaturesDialog.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit cc4352ccdd5dcdf055a67accc6e74b3ee81ec28c
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Dec 19 09:52:43 2018 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Dec 19 13:21:26 2018 +0100
set explicit color for font feature preview bg
Change-Id: Ia7e8e6e6d7b8297063798aaf63111490f356c5c9
Reviewed-on: https://gerrit.libreoffice.org/65411
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
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 <FontFeaturesDialog.hxx>
#include <vcl/font/FeatureParser.hxx>
+#include <svtools/colorcfg.hxx>
#include <svx/dialmgr.hxx>
#include <unordered_set>
@@ -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();
}
More information about the Libreoffice-commits
mailing list