diff options
author | Robert Roth <robert.roth.off@gmail.com> | 2013-02-02 00:50:37 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2013-02-04 14:13:44 +0000 |
commit | 50685e3caf8d27d624a9006d578f686dfbe020c5 (patch) | |
tree | f38b2382cf926b09361c9a101a610b2d499a256e /framework/source/services | |
parent | 2d18b593f36c9146bd317b9e62163f8dc078f6b8 (diff) |
Start center background color uses application background color, fdo51535
Change-Id: I781ea544e052e775f5cc1d709c5c3a319025ab12
Reviewed-on: https://gerrit.libreoffice.org/1958
Reviewed-by: Jan Holesovsky <kendy@suse.cz>
Tested-by: Jan Holesovsky <kendy@suse.cz>
Diffstat (limited to 'framework/source/services')
-rw-r--r-- | framework/source/services/backingwindow.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/source/services/backingwindow.cxx b/framework/source/services/backingwindow.cxx index d633f8760b49..819ec5e3d6ee 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; |