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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user