[Libreoffice-commits] .: sw/source

Stephan Bergmann sbergmann at kemper.freedesktop.org
Wed Apr 25 06:24:23 PDT 2012


 sw/source/core/doc/tblcpy.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit c262099220086a41499865761040d085213ae10f
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Apr 25 15:19:51 2012 +0200

    warning: comparison between signed and unsigned integer expressions (Mac OS X)

diff --git a/sw/source/core/doc/tblcpy.cxx b/sw/source/core/doc/tblcpy.cxx
index 35f5b74..60a2a28 100644
--- a/sw/source/core/doc/tblcpy.cxx
+++ b/sw/source/core/doc/tblcpy.cxx
@@ -944,7 +944,8 @@ sal_Bool SwTable::InsTable( const SwTable& rCpyTbl, const SwSelBoxes& rSelBoxes,
             {
                 // We insert a new row into the FndBox
                 if( pLine->GetTabBoxes().Count() < nSttBox ||
-                    ( pLine->GetTabBoxes().Count() - nSttBox ) <
+                    sal::static_int_cast< sal_uInt16 >(
+                        pLine->GetTabBoxes().Count() - nSttBox ) <
                     pFLine->GetBoxes().size() )
                     return sal_False;
 


More information about the Libreoffice-commits mailing list