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

Caolán McNamara caolanm at redhat.com
Sun Jul 17 18:17:58 UTC 2016


 sfx2/source/dialog/dinfdlg.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 4dc52f44d5098c3f367fe5414e3dfbbdaef81600
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Jul 16 21:58:31 2016 +0100

    Resolves: tdf#100910 yes/no doesn't clear bg
    
    Change-Id: If6a31cefe7137d338a57b5a28dfda63809957190
    (cherry picked from commit 997c7accd393bc665538403a5738ce1a626d9665)
    Reviewed-on: https://gerrit.libreoffice.org/27259
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index eb4039f..b78c09b 100644
--- a/sfx2/source/dialog/dinfdlg.cxx
+++ b/sfx2/source/dialog/dinfdlg.cxx
@@ -1236,10 +1236,10 @@ CustomPropertiesYesNoButton::CustomPropertiesYesNoButton( vcl::Window* pParent,
     m_aNoButton ( VclPtr<RadioButton>::Create(this, ResId( RB_PROPERTY_NO, *rResId.GetResMgr() )) )
 {
     FreeResource();
-    Wallpaper aWall( Color( COL_TRANSPARENT ) );
-    SetBackground( aWall );
+    SetBackground( Wallpaper( GetSettings().GetStyleSettings().GetFieldColor() ) );
     SetBorderStyle( WindowBorderStyle::MONO  );
     CheckNo();
+    Wallpaper aWall( Color( COL_TRANSPARENT ) );
     m_aYesButton->SetBackground( aWall );
     m_aNoButton->SetBackground( aWall );
 }


More information about the Libreoffice-commits mailing list