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

New commits:
commit e10adabc55194cd47f26e726137d2fd036f3cadb
Author: Caolán McNamara <caol...@redhat.com>
Date:   Sat May 5 10:53:27 2012 +0100

    fix typo
    
    Change-Id: I1cbed51277d67fd69121090ffc6d8e4a44e0eeae

diff --git a/sw/source/core/doc/tblrwcl.cxx b/sw/source/core/doc/tblrwcl.cxx
index 34010bb..9e0bba6 100644
--- a/sw/source/core/doc/tblrwcl.cxx
+++ b/sw/source/core/doc/tblrwcl.cxx
@@ -584,7 +584,7 @@ sal_Bool SwTable::InsertCol( SwDoc* pDoc, const SwSelBoxes& 
rBoxes, sal_uInt16 n
 sal_Bool SwTable::_InsertRow( SwDoc* pDoc, const SwSelBoxes& rBoxes,
                         sal_uInt16 nCnt, sal_Bool bBehind )
 {
-    OSL_ENSURE( pDoc && rBoxes.Count && nCnt, "No valid Box List" );
+    OSL_ENSURE( pDoc && rBoxes.Count() && nCnt, "No valid Box List" );
     SwTableNode* pTblNd = (SwTableNode*)rBoxes[0]->GetSttNd()->FindTableNode();
     if( !pTblNd )
         return sal_False;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to