[Libreoffice-commits] core.git: svx/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sat Oct 31 14:37:31 UTC 2020


 svx/source/tbxctrls/StylesPreviewWindow.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit b3d62dd95446a7289ddcc33697811e7acefe4057
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Oct 30 20:51:39 2020 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Oct 31 15:36:52 2020 +0100

    tdf#137865 use stack background to match the other notebookbar areas
    
    while the StylesPreviewWindow_Impl is the lone InterimItemWindow in
    the notebookbar
    
    Change-Id: Ie00d5c5ce3b257891696e95a91e6c88bfa0cbcde
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105085
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/svx/source/tbxctrls/StylesPreviewWindow.cxx b/svx/source/tbxctrls/StylesPreviewWindow.cxx
index 265fea39b956..f0f24e2bf907 100644
--- a/svx/source/tbxctrls/StylesPreviewWindow.cxx
+++ b/svx/source/tbxctrls/StylesPreviewWindow.cxx
@@ -495,6 +495,10 @@ StylesPreviewWindow_Impl::StylesPreviewWindow_Impl(
                         reinterpret_cast<sal_uInt64>(SfxViewShell::Current()))
     , StylesPreviewWindow_Base(*m_xBuilder, aDefaultStyles, xDispatchProvider)
 {
+    m_xUp->set_stack_background();
+    m_xDown->set_stack_background();
+    m_xContainer->set_stack_background();
+
     SetOptimalSize();
 }
 


More information about the Libreoffice-commits mailing list