diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-10-24 14:55:19 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-10-25 09:56:11 +0200 |
commit | 04247f7da6bb1deb8cf3b95b9f18e66163f2eadf (patch) | |
tree | bf232d63e65eb2e43f606fa2e0c4e0f26a09f1da /emfio/source/reader/mtftools.cxx | |
parent | fbefa7cb11f4c76c198b724f506918f5c568518c (diff) |
ofz#3766 Integer-overflow
Change-Id: I0cd5810497e6baa23d10b905f35e30b694a4c12a
Reviewed-on: https://gerrit.libreoffice.org/43778
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'emfio/source/reader/mtftools.cxx')
-rw-r--r-- | emfio/source/reader/mtftools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emfio/source/reader/mtftools.cxx b/emfio/source/reader/mtftools.cxx index 399c453c0a9a..a8ca126b101e 100644 --- a/emfio/source/reader/mtftools.cxx +++ b/emfio/source/reader/mtftools.cxx @@ -411,7 +411,7 @@ namespace emfio fX2 -= mrclFrame.Left(); fY2 -= mrclFrame.Top(); } - return Point( FRound( fX2 ), FRound( fY2 ) ); + return Point(basegfx::fround(fX2), basegfx::fround(fY2)); } else return Point(); |