summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
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();