[PATCH] Start center background color uses application background co...
Robert Roth (via Code Review)
gerrit at gerrit.libreoffice.org
Fri Feb 1 14:50:46 PST 2013
Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/1958
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/58/1958/1
Start center background color uses application background color, fdo51535
Change-Id: I781ea544e052e775f5cc1d709c5c3a319025ab12
---
M framework/source/services/backingwindow.cxx
1 file changed, 2 insertions(+), 1 deletion(-)
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::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;
--
To view, visit https://gerrit.libreoffice.org/1958
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I781ea544e052e775f5cc1d709c5c3a319025ab12
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Robert Roth <robert.roth.off at gmail.com>
More information about the LibreOffice
mailing list