vcl/source/gdi/metaact.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 3a4e630141ea08f4c8ccb148ec2c51148b718ed6
Author: Caolán McNamara <[email protected]>
AuthorDate: Sat Dec 27 16:51:48 2025 +0000
Commit: Xisco Fauli <[email protected]>
CommitDate: Mon Dec 29 17:33:47 2025 +0100
ofz#471764989 Integer-overflow
Change-Id: Ie50466c25206285125aea92fa32d2d00d24f33d1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196250
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <[email protected]>
Signed-off-by: Xisco Fauli <[email protected]>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196288
diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index 75ebd34a1ba0..76f0aa463194 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -282,6 +282,9 @@ MetaRoundRectAction::MetaRoundRectAction( const
tools::Rectangle& rRect,
void MetaRoundRectAction::Execute( OutputDevice* pOut )
{
+ if (!AllowRect(pOut->LogicToPixel(maRect)))
+ return;
+
pOut->DrawRect( maRect, mnHorzRound, mnVertRound );
}