| commit | 668c44e841a10cec8932a446a941e6d7c386bf3b | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Sat Mar 11 21:13:17 2023 +0000 |
| committer | Caolán McNamara <caolanm@redhat.com> | Sun Mar 12 20:33:21 2023 +0000 |
| tree | b0db49852f56b4e09f0ad7f0bc3fbf513c536c8b | |
| parent | 83eaf726ada716f5d16713d3f23d432f587754e8 [diff] |
ofz#56928 Integer-overflow Change-Id: Ia20a42e16b50ab320e44405e60403c1d3b971bb5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148692 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx index 1c7c320..71dbe5d 100644 --- a/vcl/source/gdi/metaact.cxx +++ b/vcl/source/gdi/metaact.cxx
@@ -1483,6 +1483,8 @@ MetaMoveClipRegionAction::MetaMoveClipRegionAction( tools::Long nHorzMove, tools void MetaMoveClipRegionAction::Execute( OutputDevice* pOut ) { if (!AllowY(pOut->LogicToPixel(Point(mnHorzMove, mnVertMove)).Y())) return; pOut->MoveClipRegion( mnHorzMove, mnVertMove ); }