summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorChristian Barth <Christian.Barth@zoho.com>2019-10-03 20:22:04 +0200
committerMichael Stahl <michael.stahl@cib.de>2019-10-09 16:25:24 +0200
commit261fa8cdf4626c9785e0ca4776e44eab4b9222e0 (patch)
treeca2389706b771e891a553a6b413ab5e567ed60ae /xmloff
parenta73cb32c7285343cbb30b4647e8e7e448eebbb02 (diff)
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 <michael.stahl@cib.de>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/impastpl.cxx2
-rw-r--r--xmloff/source/text/XMLTextListAutoStylePool.cxx2
2 files changed, 2 insertions, 2 deletions
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();