[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - svx/source
Aron Budea (via logerrit)
logerrit at kemper.freedesktop.org
Sun Aug 29 04:25:08 UTC 2021
svx/source/tbxctrls/fontworkgallery.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2eca9fda89bb200cd1f34f5a272f2197a564a364
Author: Aron Budea <aron.budea at collabora.com>
AuthorDate: Sun Aug 29 03:18:43 2021 +0200
Commit: Aron Budea <aron.budea at collabora.com>
CommitDate: Sun Aug 29 06:24:33 2021 +0200
fix -Werror -Wsign-compare error on Android
Change-Id: I08ce05fa25af17d1df4ba17cae89ac11d860494a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121215
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Aron Budea <aron.budea at collabora.com>
diff --git a/svx/source/tbxctrls/fontworkgallery.cxx b/svx/source/tbxctrls/fontworkgallery.cxx
index afd2da9f8dfa..5834979d5152 100644
--- a/svx/source/tbxctrls/fontworkgallery.cxx
+++ b/svx/source/tbxctrls/fontworkgallery.cxx
@@ -215,7 +215,7 @@ void FontWorkGalleryDialog::insertSelectedFontwork()
aPagePos.setX(convertTwipToMm100(aPagePos.X()));
aPagePos.setY(convertTwipToMm100(aPagePos.Y()));
- sal_uInt32 nLOKViewWidth = 0.8 * convertTwipToMm100(pViewShell->getLOKVisibleArea().getWidth());
+ sal_Int32 nLOKViewWidth = 0.8 * convertTwipToMm100(pViewShell->getLOKVisibleArea().getWidth());
if (aFontworkSize.getWidth() > nLOKViewWidth)
{
double fScale = static_cast<double>(aFontworkSize.getWidth()) / nLOKViewWidth;
More information about the Libreoffice-commits
mailing list