Files
loongoffice/vcl/source/pdf
Stephan Bergmann 4115ad1035 Remove harmful static_cast<int>
...that were present ever since the code's introduction in
1ced26e19d769e2ac6ca83f57f82cddbd2cfd061 "INTEGRATION: CWS vcl15", but cause
`instdir/program/soffice --headless --convert-to pdf` of doc/abi11923-2.doc from
the crash-testing corpus to fail under UBSan with

> vcl/source/pdf/Matrix3.cxx:30:35: runtime error: 2.14749e+09 is outside the range of representable values of type 'int'
>  #0 in vcl::pdf::Matrix3::transform(Point const&) const at vcl/source/pdf/Matrix3.cxx:30:35 (instdir/program/libvcllo.so +0x94098c5)
[...]

Change-Id: I3855027effa09c592345a9c85a9d5dee38d7c992
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119955
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-08-04 07:21:41 +02:00
..
2021-08-04 07:21:41 +02:00