vcl/source/gdi/salgdilayout.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit 305e5fe1ba3df1dbe1f961509fe2c691b5193a6f Author: Aron Budea <aron.bu...@collabora.com> AuthorDate: Wed Jan 18 08:34:48 2023 +0100 Commit: Aron Budea <aron.bu...@collabora.com> CommitDate: Wed Jan 18 09:19:56 2023 +0000 tdf#153080 RTL UI was misbehaving Regression from 6f43f00279252265fe4892b46fe0b4686ff721ed Change-Id: I472381252641bdcd1416bad0893c416a041cc49f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145704 Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> Tested-by: Jenkins Reviewed-by: Aron Budea <aron.bu...@collabora.com> diff --git a/vcl/source/gdi/salgdilayout.cxx b/vcl/source/gdi/salgdilayout.cxx index 4e8afedcf574..7b5c11022e03 100644 --- a/vcl/source/gdi/salgdilayout.cxx +++ b/vcl/source/gdi/salgdilayout.cxx @@ -381,7 +381,10 @@ void SalGraphics::SetClipRegion( const vcl::Region& i_rClip, const OutputDevice& mirror( aMirror, rOutDev ); setClipRegion( aMirror ); } - setClipRegion( i_rClip ); + else + { + setClipRegion( i_rClip ); + } } void SalGraphics::DrawPixel( tools::Long nX, tools::Long nY, const OutputDevice& rOutDev )