diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-01-17 08:47:22 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-01-17 08:47:22 +0100 |
commit | 7ca7690f84cfab87ddd25fa1200b11625d1f7ece (patch) | |
tree | 55604a2b7e5ff19cab8dd276bc5d7a61d0af3bb3 /xmloff | |
parent | 750f32c6ccd4c5dcf0036b0aa421bedea4e686f5 (diff) |
Better fix for WaE signed/unsigned comparison.
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/text/txtparae.cxx | 2 |
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) |