[Libreoffice-commits] .: xmloff/source

Stephan Bergmann sbergmann at kemper.freedesktop.org
Mon Jan 16 12:42:18 PST 2012


 xmloff/source/text/txtparae.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 69d91300547f6ed45a9a499ffae71c2c0f91c441
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jan 16 21:42:09 2012 +0100

    WaE signed/unsigned comparison.

diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index e32203a..96316d1 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 * nListLevelsToBeClosed ) )
+             pListElements->size() >= ( 2 * sal::static_int_cast< sal_uInt16 >(nListLevelsToBeClosed) ) )
         {
             do {
                 for(size_t j = 0; j < 2; ++j)


More information about the Libreoffice-commits mailing list