[Libreoffice-commits] core.git: Branch 'libreoffice-6-2' - cui/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Dec 19 12:53:38 UTC 2018


 cui/source/dialogs/FontFeaturesDialog.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 1520eef33db2d8217c54feb9a9e5174f7ad397d2
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:53:16 2018 +0100

    set explicit color for font feature preview bg
    
    Change-Id: Ia7e8e6e6d7b8297063798aaf63111490f356c5c9
    Reviewed-on: https://gerrit.libreoffice.org/65412
    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 00b28434651a..0c8a2e368bfd 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>
 
 using namespace css;
@@ -23,6 +24,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