summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-07-16 21:58:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-07-16 21:59:12 +0100
commit997c7accd393bc665538403a5738ce1a626d9665 (patch)
tree7e96934dee4bba727da36f42366a7d5f91654c01 /sfx2
parentbdf577a1b346b2494e6073810e0c059cdbae24af (diff)
Resolves: tdf#100910 yes/no doesn't clear bg
Change-Id: If6a31cefe7137d338a57b5a28dfda63809957190
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/dinfdlg.cxx4
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 );
}