From 850995b2c22db7c3ddbcc8ebfad5bcbc0b01f029 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 11 May 2018 13:56:03 +0100 Subject: weld SdPhotoAlbumDialog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I46cca94bb43e1b1cd9757b22baad9bb3f61bc15d Reviewed-on: https://gerrit.libreoffice.org/54132 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- svx/source/dialog/graphctl.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'svx') diff --git a/svx/source/dialog/graphctl.cxx b/svx/source/dialog/graphctl.cxx index 5f959499f97b..e656d0e18673 100644 --- a/svx/source/dialog/graphctl.cxx +++ b/svx/source/dialog/graphctl.cxx @@ -788,6 +788,7 @@ IMPL_LINK(SvxGraphCtrl, DoResize, const Size&, rSize, void) IMPL_LINK(SvxGraphCtrl, DoPaint, weld::DrawingArea::draw_args, aPayload, void) { vcl::RenderContext& rRenderContext = aPayload.first; + rRenderContext.Erase(); const bool bGraphicValid(GraphicType::NONE != aGraphic.GetType()); // #i73381# in non-SdrMode, paint to local directly if (bGraphicValid && aGraphSize.Width() && aGraphSize.Height()) -- cgit