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

Robert Roth robert.roth.off at gmail.com
Mon Feb 4 06:14:02 PST 2013


 framework/source/services/backingwindow.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 50685e3caf8d27d624a9006d578f686dfbe020c5
Author: Robert Roth <robert.roth.off at gmail.com>
Date:   Sat Feb 2 00:50:37 2013 +0200

    Start center background color uses application background color, fdo51535
    
    Change-Id: I781ea544e052e775f5cc1d709c5c3a319025ab12
    Reviewed-on: https://gerrit.libreoffice.org/1958
    Reviewed-by: Jan Holesovsky <kendy at suse.cz>
    Tested-by: Jan Holesovsky <kendy at suse.cz>

diff --git a/framework/source/services/backingwindow.cxx b/framework/source/services/backingwindow.cxx
index d633f87..819ec5e 100644
--- a/framework/source/services/backingwindow.cxx
+++ b/framework/source/services/backingwindow.cxx
@@ -40,6 +40,7 @@
 #include "svtools/imagemgr.hxx"
 #include "svtools/svtools.hrc"
 #include "svtools/langhelp.hxx"
+#include "svtools/colorcfg.hxx"
 
 #include "comphelper/processfactory.hxx"
 #include "comphelper/sequenceashashmap.hxx"
@@ -660,7 +661,7 @@ void BackingWindow::layoutButton(
 
 void BackingWindow::Paint( const Rectangle& )
 {
-    Wallpaper aBack( GetSettings().GetStyleSettings().GetWorkspaceColor() );
+    Wallpaper aBack( svtools::ColorConfig().GetColorValue(::svtools::APPBACKGROUND).nColor );
     Region aClip( Rectangle( Point( 0, 0 ), GetOutputSizePixel() ) );
     Rectangle aBmpRect(maControlRect);
     aBmpRect.Left()   -= nShadowLeft;


More information about the Libreoffice-commits mailing list