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

Caolán McNamara caolanm at redhat.com
Sat Jul 16 20:59:34 UTC 2016


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

New commits:
commit 997c7accd393bc665538403a5738ce1a626d9665
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

diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index bad1333..7fe6aad 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