[Libreoffice-commits] core.git: svx/source
Onur Yilmaz (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jan 7 17:25:16 UTC 2020
svx/source/dialog/searchcharmap.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 1a5832e8340a2502f24d7fea98c656e629887d2e
Author: Onur Yilmaz <onuryilmaz0750 at gmail.com>
AuthorDate: Sun Dec 29 22:48:54 2019 +0300
Commit: Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Tue Jan 7 18:24:40 2020 +0100
tdf#75280: Convert inappropriate use of sal_uIntPtr to better integer types
Change-Id: Ie82a0e15f8c2ed3148277d88c0db8164b5b9393c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85960
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>
diff --git a/svx/source/dialog/searchcharmap.cxx b/svx/source/dialog/searchcharmap.cxx
index 13be945ae15f..115ca8b36ba7 100644
--- a/svx/source/dialog/searchcharmap.cxx
+++ b/svx/source/dialog/searchcharmap.cxx
@@ -53,9 +53,9 @@ SvxSearchCharSet::SvxSearchCharSet(std::unique_ptr<weld::ScrolledWindow> pScroll
int SvxSearchCharSet::LastInView() const
{
- sal_uIntPtr nIndex = FirstInView();
+ sal_uInt32 nIndex = FirstInView();
nIndex += ROW_COUNT * COLUMN_COUNT - 1;
- sal_uIntPtr nCompare = sal::static_int_cast<sal_uIntPtr>(nCount - 1);
+ sal_uInt32 nCompare = sal::static_int_cast<sal_uInt32>(nCount - 1);
if (nIndex > nCompare)
nIndex = nCompare;
return nIndex;
More information about the Libreoffice-commits
mailing list