GetOutputWidthPixel() and GetOutputHeightPixel() both return a value of type tools::Long, representing an offset width and height in pixels. Since aSquare and aCandidateSquare multiply these values, it seems reasonable to use sal_uInt64 here just in case of larger displays. Change-Id: Idacf8e7c43e884b72699ee1d521d1e0dbf4715a3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194942 Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Tested-by: Jenkins