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>
This commit is contained in:
Caolán McNamara
2017-10-24 14:55:19 +01:00
parent fbefa7cb11
commit 04247f7da6

View File

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