[Libreoffice-commits] core.git: vcl/source
Bayram Ãiçek (via logerrit)
logerrit at kemper.freedesktop.org
Mon Feb 1 11:45:02 UTC 2021
vcl/source/window/builder.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit c7d0f4452cd4eba2d180eb5bb9f8b0add048e5de
Author: Bayram Çiçek <mail at bayramcicek.com.tr>
AuthorDate: Fri Jan 29 07:46:57 2021 +0000
Commit: Michael Stahl <michael.stahl at allotropia.de>
CommitDate: Mon Feb 1 12:44:22 2021 +0100
tdf#75280: Convert inappropriate use of sal_uIntPtr to better integer types
Change-Id: I02cb5241f3769e6cb99029dfbf83d53cdf49806e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110123
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl at allotropia.de>
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index a90efa8f9ce2..61bf3f487869 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -4208,7 +4208,7 @@ void VclBuilder::mungeModel(ComboBox &rTarget, const ListStore &rStore, sal_uInt
{
if (m_bLegacy)
{
- sal_IntPtr nValue = rRow[1].toInt32();
+ sal_Int32 nValue = rRow[1].toInt32();
rTarget.SetEntryData(nEntry, reinterpret_cast<void*>(nValue));
}
else
@@ -4235,7 +4235,7 @@ void VclBuilder::mungeModel(ListBox &rTarget, const ListStore &rStore, sal_uInt1
{
if (m_bLegacy)
{
- sal_IntPtr nValue = rRow[1].toInt32();
+ sal_Int32 nValue = rRow[1].toInt32();
rTarget.SetEntryData(nEntry, reinterpret_cast<void*>(nValue));
}
else
@@ -4262,7 +4262,7 @@ void VclBuilder::mungeModel(SvTabListBox& rTarget, const ListStore &rStore, sal_
{
if (m_bLegacy)
{
- sal_IntPtr nValue = rRow[1].toInt32();
+ sal_Int32 nValue = rRow[1].toInt32();
pEntry->SetUserData(reinterpret_cast<void*>(nValue));
}
else
More information about the Libreoffice-commits
mailing list