summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorBayram Çiçek <mail@bayramcicek.com.tr>2021-01-29 07:46:57 +0000
committerMichael Stahl <michael.stahl@allotropia.de>2021-02-01 12:44:22 +0100
commitc7d0f4452cd4eba2d180eb5bb9f8b0add048e5de (patch)
tree91f70908a33811843e538387ddb83d39b178db71 /vcl
parentc3a8fe7b40465134e500d5698b1455d2181aed4f (diff)
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@allotropia.de>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/builder.cxx6
1 files changed, 3 insertions, 3 deletions
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