diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-07-16 21:58:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-07-16 21:59:12 +0100 |
commit | 997c7accd393bc665538403a5738ce1a626d9665 (patch) | |
tree | 7e96934dee4bba727da36f42366a7d5f91654c01 /sfx2/source/dialog/dinfdlg.cxx | |
parent | bdf577a1b346b2494e6073810e0c059cdbae24af (diff) |
Resolves: tdf#100910 yes/no doesn't clear bg
Change-Id: If6a31cefe7137d338a57b5a28dfda63809957190
Diffstat (limited to 'sfx2/source/dialog/dinfdlg.cxx')
-rw-r--r-- | sfx2/source/dialog/dinfdlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx index bad13335e1ab..7fe6aad9844d 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 ); } |