summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorAron Budea <aron.budea@collabora.com>2023-01-18 08:34:48 +0100
committerAron Budea <aron.budea@collabora.com>2023-01-18 09:19:56 +0000
commit305e5fe1ba3df1dbe1f961509fe2c691b5193a6f (patch)
tree7df458e0aaefa57466ecd3b8dd869efd6522bde5 /vcl
parent91c0e64c2f4d67c6a1073a73b1e467a3b28f0e85 (diff)
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.grandin@collabora.co.uk> Tested-by: Jenkins Reviewed-by: Aron Budea <aron.budea@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/salgdilayout.cxx5
1 files changed, 4 insertions, 1 deletions
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 )