diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-05-29 09:32:41 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-05-29 21:49:24 +0200 |
commit | 6d0d201b30122395eb164807b93d76d567ff970b (patch) | |
tree | 0af8ead928a5f2495bfbcb28bb44cb499b370c31 /svx/source/dialog/dialcontrol.cxx | |
parent | ba0408ae9a4ac1b391944b2fdcfd02f86ab2f773 (diff) |
weld SvxTransformTabDialog
Change-Id: Ib6dabd04e3f834b61363d5a620de7f0219a1e644
Reviewed-on: https://gerrit.libreoffice.org/55012
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source/dialog/dialcontrol.cxx')
-rw-r--r-- | svx/source/dialog/dialcontrol.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/svx/source/dialog/dialcontrol.cxx b/svx/source/dialog/dialcontrol.cxx index e62fe137dcbf..bdde7054c593 100644 --- a/svx/source/dialog/dialcontrol.cxx +++ b/svx/source/dialog/dialcontrol.cxx @@ -141,7 +141,7 @@ const Color& DialControlBmp::GetButtonFillColor( bool bMain ) const void DialControlBmp::Init() { SetSettings(mrParent.GetSettings()); - SetBackground(); + SetBackground(GetBackgroundColor()); } void DialControlBmp::SetSize( const Size& rSize ) @@ -567,8 +567,6 @@ void SvxDialControl::Resize() void SvxDialControl::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle&) { Point aPos; - rRenderContext.SetBackground(); - rRenderContext.Erase(); rRenderContext.DrawBitmapEx(aPos, mpImpl->mxBmpBuffered->GetBitmapEx(aPos, mpImpl->maWinSize)); } |