cid#1660323 silence Division or modulo by float zero
Change-Id: I49f88360697ceb7a7461b964a0b6ba9122c60c19 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189965 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Jenkins
This commit is contained in:
@@ -392,6 +392,9 @@ void PresenterHelpView::CheckFontSize()
|
||||
rxBlock->maRight.GetHeight());
|
||||
});
|
||||
|
||||
if (nY == 0)
|
||||
break;
|
||||
|
||||
const double nHeightDifference (nY - (mnSeparatorY-gnVerticalBorder));
|
||||
if (nHeightDifference <= 0 && nHeightDifference > -50)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user