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

New commits:
commit bf89ac73fdb1ca8c083913f6ad8aaf8cec9114c5
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Thu Sep 16 09:10:08 2021 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Thu Sep 16 16:28:20 2021 +0200

    occasionally the bg color of the deck grip is wrong
    
    Change-Id: I318e817a8e99b9f01aee90f042bfac39a1c4b5d9
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122176
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

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);
     }
 };

Reply via email to