summaryrefslogtreecommitdiffstats
path: root/xmloff
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/txtparae.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index 96316d1968e2..6db50ffed16f 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -856,7 +856,7 @@ void XMLTextParagraphExport::exportListChange(
if ( nListLevelsToBeClosed > 0 &&
pListElements &&
- pListElements->size() >= ( 2 * sal::static_int_cast< sal_uInt16 >(nListLevelsToBeClosed) ) )
+ pListElements->size() >= sal::static_int_cast< sal_uInt32 >( 2 * nListLevelsToBeClosed ) )
{
do {
for(size_t j = 0; j < 2; ++j)