[Libreoffice-commits] core.git: emfio/source

Caolán McNamara caolanm at redhat.com
Wed Oct 25 07:56:33 UTC 2017


 emfio/source/reader/mtftools.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 04247f7da6bb1deb8cf3b95b9f18e66163f2eadf
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Oct 24 14:55:19 2017 +0100

    ofz#3766 Integer-overflow
    
    Change-Id: I0cd5810497e6baa23d10b905f35e30b694a4c12a
    Reviewed-on: https://gerrit.libreoffice.org/43778
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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();


More information about the Libreoffice-commits mailing list