diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-07-16 21:58:31 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2016-07-18 11:19:00 +0200 |
commit | 4dd0b8632512e47e68234640221266456878d554 (patch) | |
tree | 2c23856c30c972d4e455c1211ea79b1891503d34 /sfx2 | |
parent | 379c847556b6bcdd768d46469dfd8fc05cdef317 (diff) |
Resolves: tdf#100910 yes/no doesn't clear bg
Change-Id: If6a31cefe7137d338a57b5a28dfda63809957190
(cherry picked from commit 997c7accd393bc665538403a5738ce1a626d9665)
Reviewed-on: https://gerrit.libreoffice.org/27260
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
(cherry picked from commit bd6d7374df93cc173967a95f1deae2d667c6d963)
Diffstat (limited to 'sfx2')
-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 c1040600d5a2..b3ce83aa549f 100644 --- a/sfx2/source/dialog/dinfdlg.cxx +++ b/sfx2/source/dialog/dinfdlg.cxx @@ -1249,10 +1249,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 ); } |