framework/source/services/backingwindow.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 50685e3caf8d27d624a9006d578f686dfbe020c5 Author: Robert Roth <[email protected]> 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 <[email protected]> Tested-by: Jan Holesovsky <[email protected]> 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; _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
