[Libreoffice-commits] .: sw/source

Nigel Hawkins nhawkins at kemper.freedesktop.org
Sun Jul 24 03:46:58 PDT 2011


 sw/source/core/docnode/ndtbl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 68b62652661bcd1afd80cd8388e3c434d30321b1
Author: Nigel Hawkins <n.hawkins at gmx.com>
Date:   Sun Jul 24 11:41:17 2011 +0100

    Fix signed/unsigned comparison warning on MAC in ndtbl.cxx.
    
    LGPLv3+/MPL

diff --git a/sw/source/core/docnode/ndtbl.cxx b/sw/source/core/docnode/ndtbl.cxx
index f1a111f..76ca7eb 100644
--- a/sw/source/core/docnode/ndtbl.cxx
+++ b/sw/source/core/docnode/ndtbl.cxx
@@ -354,7 +354,7 @@ const SwTable* SwDoc::InsertTable( const SwInsertTableOptions& rInsTblOpts,
 
         // sollte das ColumnArray die falsche Anzahl haben wird es ignoriert!
         if( pColArr &&
-            (nCols + ( text::HoriOrientation::NONE == eAdjust ? 2 : 1 )) != pColArr->size() )
+            (size_t)(nCols + ( text::HoriOrientation::NONE == eAdjust ? 2 : 1 )) != pColArr->size() )
             pColArr = 0;
     }
 


More information about the Libreoffice-commits mailing list