vcl/source/control/button.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e51aa80ea31cd4494bc4259b0faf8aeaff2e0287 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Fri Jun 7 14:14:21 2019 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Fri Jun 7 16:23:00 2019 +0200 fix assert in make screenshot after commit a46a257794f1f53b294735fc876c394be23a3811 Date: Wed Jun 5 15:24:04 2019 +0200 improve empty tools::Rectangle (width) Change-Id: I496d92712aa7627f7d6932d7d01f70a68a1ee781 Reviewed-on: https://gerrit.libreoffice.org/73657 Reviewed-by: Stephan Bergmann <sberg...@redhat.com> Tested-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx index 864214b66e43..4c954b4fe6d1 100644 --- a/vcl/source/control/button.cxx +++ b/vcl/source/control/button.cxx @@ -805,7 +805,7 @@ void PushButton::ImplDrawPushButtonContent(OutputDevice* pDev, DrawFlags nDrawFl DrawSymbolFlags nStyle; if( aInRect.Right() < aInRect.Left() || aInRect.Bottom() < aInRect.Top() ) - aInRect.SetEmpty(); + return; // nothing to do pDev->Push( PushFlags::CLIPREGION ); pDev->IntersectClipRegion( aInRect ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits