From 261fa8cdf4626c9785e0ca4776e44eab4b9222e0 Mon Sep 17 00:00:00 2001 From: Christian Barth Date: Thu, 3 Oct 2019 20:22:04 +0200 Subject: tdf#114441 changed some sal_uLong to better fitting types Change-Id: I114a6b028eb59a1ae38c31bc20439a35643fe972 Reviewed-on: https://gerrit.libreoffice.org/80159 Tested-by: Jenkins Reviewed-by: Michael Stahl --- xmloff/source/style/impastpl.cxx | 2 +- xmloff/source/text/XMLTextListAutoStylePool.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'xmloff') diff --git a/xmloff/source/style/impastpl.cxx b/xmloff/source/style/impastpl.cxx index 2c2612a061cb..5c8e8eb8a3db 100644 --- a/xmloff/source/style/impastpl.cxx +++ b/xmloff/source/style/impastpl.cxx @@ -617,7 +617,7 @@ void SvXMLAutoStylePoolP_Impl::exportXML( { XMLAutoStylePoolProperties *const pProperties = rParent.GetPropertiesList()[j].get(); - sal_uLong nPos = pProperties->GetPos(); + sal_uInt32 nPos = pProperties->GetPos(); assert(nPos < nCount); assert(!aExpStyles[nPos].mpProperties); aExpStyles[nPos].mpProperties = pProperties; diff --git a/xmloff/source/text/XMLTextListAutoStylePool.cxx b/xmloff/source/text/XMLTextListAutoStylePool.cxx index d77ad5e8e7c3..aa23ec13bf29 100644 --- a/xmloff/source/text/XMLTextListAutoStylePool.cxx +++ b/xmloff/source/text/XMLTextListAutoStylePool.cxx @@ -173,7 +173,7 @@ sal_uInt32 XMLTextListAutoStylePool::Find( const XMLTextListAutoStylePoolEntry_I uno::Any aAny1, aAny2; aAny1 <<= pEntry->GetNumRules(); - for( sal_uLong nPos = 0; nPos < nCount; nPos++ ) + for( sal_uInt32 nPos = 0; nPos < nCount; nPos++ ) { aAny2 <<= (*pPool)[nPos]->GetNumRules(); -- cgit