summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
authorBayram Çiçek <mail@bayramcicek.com.tr>2021-02-14 19:11:12 +0000
committerMichael Stahl <michael.stahl@allotropia.de>2021-03-11 11:37:49 +0100
commita88effc4f53da8ae476f6a9f24b96e5948b17bee (patch)
tree1b5262a483b1c5daf09352b95563ecbf36820d9d /idl
parentc792cbf4f2d0d44279f273c4c6cba650601f1468 (diff)
tdf#114441: Convert use of sal_uLong to better integer types
Change-Id: Ibb432c3db6d99343514c412c4c1b968808b733c8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110886 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'idl')
-rw-r--r--idl/source/objects/module.cxx2
-rw-r--r--idl/source/objects/object.cxx2
-rw-r--r--idl/source/objects/slot.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/idl/source/objects/module.cxx b/idl/source/objects/module.cxx
index 17c483a3243e..e97dd29d651c 100644
--- a/idl/source/objects/module.cxx
+++ b/idl/source/objects/module.cxx
@@ -26,7 +26,7 @@ SvMetaModule::SvMetaModule() {}
void SvMetaModule::WriteSfx(SvIdlDataBase& rBase, SvStream& rOutStm)
{
- for (sal_uLong n = 0; n < aClassList.size(); n++)
+ for (size_t n = 0; n < aClassList.size(); n++)
{
SvMetaClass* pClass = aClassList[n];
pClass->WriteSfx(rBase, rOutStm);
diff --git a/idl/source/objects/object.cxx b/idl/source/objects/object.cxx
index a424bb748044..1c8299b132d4 100644
--- a/idl/source/objects/object.cxx
+++ b/idl/source/objects/object.cxx
@@ -106,7 +106,7 @@ bool SvMetaClass::TestAttribute( SvIdlDataBase & rBase, SvTokenStream & rInStm,
SAL_WARN( "idl", "new slot : " << rAttr.GetSlotId().getString() );
}
- for( sal_uLong n = 0; n < aAttrList.size(); n++ )
+ for( size_t n = 0; n < aAttrList.size(); n++ )
{
SvMetaAttribute * pS = aAttrList[n];
if( pS->GetName() == rAttr.GetName() )
diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx
index 30b6b1fe0eca..fcdbbb8e95d0 100644
--- a/idl/source/objects/slot.cxx
+++ b/idl/source/objects/slot.cxx
@@ -579,7 +579,7 @@ sal_uInt16 SvMetaSlot::WriteSlotParamArray( SvIdlDataBase & rBase, SvStream & rO
const SvRefMemberList<SvMetaAttribute *>& rList =
pType->GetAttrList();
- for( sal_uLong n = 0; n < rList.size(); n++ )
+ for( size_t n = 0; n < rList.size(); n++ )
{
SvMetaAttribute * pPar = rList[n];
SvMetaType * pPType = pPar->GetType();