diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-07-09 20:16:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-07-12 18:16:22 +0200 |
commit | 8328d84a0ce8c1b9592ce0dbab17dbbecc423b3c (patch) | |
tree | b25fd10fd460280b1e03d5057dffde1e95cf0bb8 /vcl/source/app/salvtables.cxx | |
parent | 1663b961ce2f9f109ad7634f165445f9ea785db3 (diff) |
weld CheckBoxControl
Change-Id: Iea057189ab17c1fdaf6663f1c328b9d288d97a18
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98532
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/app/salvtables.cxx')
-rw-r--r-- | vcl/source/app/salvtables.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index 901d7c9b8d1e..d28a7cc3f0d4 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -1136,10 +1136,11 @@ std::unique_ptr<weld::Container> SalInstanceWidget::weld_parent() const void SalInstanceWidget::draw(OutputDevice& rOutput, const tools::Rectangle& rRect) { Size aOrigSize(m_xWidget->GetSizePixel()); - m_xWidget->SetSizePixel(rRect.GetSize()); + Size aSize = rRect.GetSize(); + m_xWidget->SetSizePixel(aSize); rOutput.Push(PushFlags::CLIPREGION); rOutput.IntersectClipRegion(rRect); - m_xWidget->Draw(&rOutput, rRect.TopLeft(), DrawFlags::NONE); + m_xWidget->PaintToDevice(&rOutput, rRect.TopLeft()); rOutput.Pop(); m_xWidget->SetSizePixel(aOrigSize); } |