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@gmail.com>
Context
- [PATCH] Start center background color uses application background co... · Robert Roth (via Code Review)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.