diff options
Diffstat (limited to 'svx/source/tbxctrls/tbxcolorupdate.cxx')
-rw-r--r-- | svx/source/tbxctrls/tbxcolorupdate.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/tbxcolorupdate.cxx b/svx/source/tbxctrls/tbxcolorupdate.cxx index bb6a8fa95016..cc36596a90e8 100644 --- a/svx/source/tbxctrls/tbxcolorupdate.cxx +++ b/svx/source/tbxctrls/tbxcolorupdate.cxx @@ -106,7 +106,7 @@ namespace svx VclPtr<VirtualDevice> VclToolboxButtonColorUpdater::CreateVirtualDevice() const { - auto xRet = VclPtr<VirtualDevice>::Create(*mpTbx, + auto xRet = VclPtr<VirtualDevice>::Create(*mpTbx->GetOutDev(), DeviceFormat::DEFAULT, DeviceFormat::DEFAULT); xRet->SetBackground(mpTbx->GetControlBackground()); return xRet; |