Change-Id: I1cbed51277d67fd69121090ffc6d8e4a44e0eeae
This commit is contained in:
Caolán McNamara
2012-05-05 10:53:27 +01:00
parent e4bfd2ff06
commit e10adabc55

View File

@@ -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_Bool SwTable::_InsertRow( SwDoc* pDoc, const SwSelBoxes& rBoxes,
sal_uInt16 nCnt, sal_Bool bBehind ) 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(); SwTableNode* pTblNd = (SwTableNode*)rBoxes[0]->GetSttNd()->FindTableNode();
if( !pTblNd ) if( !pTblNd )
return sal_False; return sal_False;