summaryrefslogtreecommitdiff
path: root/toolkit/source/helper/unopropertyarrayhelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/helper/unopropertyarrayhelper.cxx')
-rw-r--r--toolkit/source/helper/unopropertyarrayhelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/helper/unopropertyarrayhelper.cxx b/toolkit/source/helper/unopropertyarrayhelper.cxx
index 8d7e9a8ae024..f265a1bdf08c 100644
--- a/toolkit/source/helper/unopropertyarrayhelper.cxx
+++ b/toolkit/source/helper/unopropertyarrayhelper.cxx
@@ -100,7 +100,7 @@ sal_Bool UnoPropertyArrayHelper::fillPropertyMembersByHandle( ::rtl::OUString *
for ( sal_uInt32 n = 0; n < nProps; n++ )
{
- sal_uInt16 nId = (sal_uInt16)(sal_uIntPtr)aSortedPropsIds.GetObject( n );
+ sal_uInt16 nId = (sal_uInt16)(sal_uLong)aSortedPropsIds.GetObject( n );
pProps[n].Name = GetPropertyName( nId );
pProps[n].Handle = nId;
pProps[n].Type = *GetPropertyType( nId );