fix typo
Change-Id: I1cbed51277d67fd69121090ffc6d8e4a44e0eeae
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user