[Libreoffice-commits] core.git: Branch 'libreoffice-7-2' - sfx2/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Sep 17 08:41:36 UTC 2021


 sfx2/source/sidebar/DeckTitleBar.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 876254bee420e89e560ac8dbbb1828bda92ed2e8
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Sep 16 09:10:08 2021 +0100
Commit:     Michael Stahl <michael.stahl at allotropia.de>
CommitDate: Fri Sep 17 10:41:03 2021 +0200

    occasionally the bg color of the deck grip is wrong
    
    Change-Id: I318e817a8e99b9f01aee90f042bfac39a1c4b5d9
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122120
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <michael.stahl at allotropia.de>

diff --git a/sfx2/source/sidebar/DeckTitleBar.cxx b/sfx2/source/sidebar/DeckTitleBar.cxx
index 6700014e82a4..42379e5354f3 100644
--- a/sfx2/source/sidebar/DeckTitleBar.cxx
+++ b/sfx2/source/sidebar/DeckTitleBar.cxx
@@ -53,6 +53,7 @@ public:
     virtual void Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle& /*rRect*/) override
     {
         rRenderContext.SetBackground(Theme::GetColor(Theme::Color_DeckTitleBarBackground));
+        rRenderContext.Erase();
         rRenderContext.DrawBitmapEx(Point(0, 0), maGrip);
     }
 };


More information about the Libreoffice-commits mailing list