[PATCH] Change in core[libreoffice-4-0]: Personas: Fix fdo#59208 - get rid of artifacts when we run o...

Jan Holesovsky (via Code Review) gerrit at gerrit.libreoffice.org
Thu Jan 17 08:07:26 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1742

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/42/1742/1

Personas: Fix fdo#59208 - get rid of artifacts when we run out of bitmap.

So far I am using the same color that is used for the workspace; should it be
a problem, we can use a different color.

Change-Id: I06fde7f31a9d37d2e387a7e3fd0b6d3d33f8d6e6
---
M vcl/source/window/dockingarea.cxx
M vcl/source/window/menu.cxx
2 files changed, 3 insertions(+), 0 deletions(-)



diff --git a/vcl/source/window/dockingarea.cxx b/vcl/source/window/dockingarea.cxx
index e20265d..c79c226 100644
--- a/vcl/source/window/dockingarea.cxx
+++ b/vcl/source/window/dockingarea.cxx
@@ -55,6 +55,7 @@
     {
         Wallpaper aWallpaper( rPersonaBitmap );
         aWallpaper.SetStyle( WALLPAPER_TOPRIGHT );
+        aWallpaper.SetColor( Application::GetSettings().GetStyleSettings().GetWorkspaceColor() );
 
         // we need to shift the bitmap vertically so that it spans over the
         // menubar conveniently
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx
index ec35098..71a92b5 100644
--- a/vcl/source/window/menu.cxx
+++ b/vcl/source/window/menu.cxx
@@ -3861,6 +3861,8 @@
         {
             Wallpaper aWallpaper( rPersonaBitmap );
             aWallpaper.SetStyle( WALLPAPER_TOPRIGHT );
+            aWallpaper.SetColor( Application::GetSettings().GetStyleSettings().GetWorkspaceColor() );
+
             pWin->SetBackground( aWallpaper );
             pWin->SetPaintTransparent( sal_False );
             pWin->SetParentClipMode( 0 );

-- 
To view, visit https://gerrit.libreoffice.org/1742
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I06fde7f31a9d37d2e387a7e3fd0b6d3d33f8d6e6
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Jan Holesovsky <kendy at suse.cz>



More information about the LibreOffice mailing list