[Libreoffice-commits] core.git: svtools/source

Juergen Funk juergen.funk_ml at cib.de
Tue Mar 31 05:40:14 PDT 2015


 svtools/source/contnr/treelistentry.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit eb61e1c00365337cde3aff45b5a9f362951abd62
Author: Juergen Funk <juergen.funk_ml at cib.de>
Date:   Mon Mar 30 12:58:18 2015 +0200

    tdf#89873 UI: some dialog windows not being painted
    
    The bug in TreeLists with black background is NOT from scheduler.
    It is from patch 148e489e33a34c6345326c9beaf248ac91f8cd01
    Lot of dialogs not set the background, that was the problem.
    My fix set the backgound to the default background.
    
    Change-Id: I0f07bf54131aeb177bcf150e6854203c34b6b972
    Reviewed-on: https://gerrit.libreoffice.org/15071
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/svtools/source/contnr/treelistentry.cxx b/svtools/source/contnr/treelistentry.cxx
index aa0ce3c..c56d4d9 100644
--- a/svtools/source/contnr/treelistentry.cxx
+++ b/svtools/source/contnr/treelistentry.cxx
@@ -57,6 +57,7 @@ SvTreeListEntry::SvTreeListEntry()
     , bIsMarked(false)
     , pUserData(NULL)
     , nEntryFlags(0)
+    , maBackColor(Application::GetSettings().GetStyleSettings().GetWindowColor())
 {
 }
 
@@ -67,6 +68,7 @@ SvTreeListEntry::SvTreeListEntry(const SvTreeListEntry& r)
     , bIsMarked(r.bIsMarked)
     , pUserData(r.pUserData)
     , nEntryFlags(r.nEntryFlags)
+    , maBackColor(Application::GetSettings().GetStyleSettings().GetWindowColor())
 {
     SvTreeListEntries::const_iterator it = r.maChildren.begin(), itEnd = r.maChildren.end();
     for (; it != itEnd; ++it)


More information about the Libreoffice-commits mailing list