summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-07-16 21:58:31 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-07-17 18:17:36 +0000
commit4dc52f44d5098c3f367fe5414e3dfbbdaef81600 (patch)
treee45d555806e9627ad6011524d9f3cd444239e3cb
parentdc0a20cc9b7781b821778d69d2be75e60621e5bc (diff)
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@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-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 eb4039fbb2af..b78c09bff7cf 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 );
}