summaryrefslogtreecommitdiff
path: root/vcl/source/app
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/app')
-rw-r--r--vcl/source/app/salvtables.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx
index 43a4b6305395..7c2f726a9b9b 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -661,9 +661,10 @@ OUString SalInstanceWidget::strip_mnemonic(const OUString& rLabel) const
VclPtr<VirtualDevice> SalInstanceWidget::create_virtual_device() const
{
- // create with (annoying) separate alpha layer that LibreOffice itself uses
- return VclPtr<VirtualDevice>::Create(*Application::GetDefaultDevice(),
- DeviceFormat::WITH_ALPHA);
+ // create with no separate alpha layer like everything sane does
+ auto xRet = VclPtr<VirtualDevice>::Create();
+ xRet->SetBackground(COL_TRANSPARENT);
+ return xRet;
}
void SalInstanceWidget::call_attention_to()