diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-03-07 13:12:59 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-03-07 16:21:39 +0100 |
commit | d0586b42a715e4d14eeb5b3e729f20c3fb40c391 (patch) | |
tree | 70a837c931584799d9dd99e37857d2a341f92bc7 /cui | |
parent | 24dcb0b11813241c71ba4f5826abb1f89dc5a527 (diff) |
can drop wallpaper if use alpha-enabled virdev
Change-Id: I655dca755ed8e1c1266c191f61998b3838fe9797
Reviewed-on: https://gerrit.libreoffice.org/68860
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/hangulhanjadlg.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/dialogs/hangulhanjadlg.cxx b/cui/source/dialogs/hangulhanjadlg.cxx index 6f63cb7d45b8..703d52ddb026 100644 --- a/cui/source/dialogs/hangulhanjadlg.cxx +++ b/cui/source/dialogs/hangulhanjadlg.cxx @@ -227,10 +227,9 @@ namespace svx }; RubyRadioButton::RubyRadioButton(std::unique_ptr<weld::RadioButton> xControl) - : m_xVirDev(VclPtr<VirtualDevice>::Create()) + : m_xVirDev(VclPtr<VirtualDevice>::Create(*Application::GetDefaultDevice(), DeviceFormat::DEFAULT, DeviceFormat::DEFAULT)) , m_xControl(std::move(xControl)) { - m_xVirDev->SetBackground(m_xControl->get_wallpaper()); // expand the point size of the desired font to the equivalent pixel size if (vcl::Window* pDefaultDevice = dynamic_cast<vcl::Window*>(Application::GetDefaultDevice())) pDefaultDevice->SetPointFont(*m_xVirDev, m_xControl->get_font()); |