diff options
Diffstat (limited to 'sw/source/core/table/swtable.cxx')
-rw-r--r-- | sw/source/core/table/swtable.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/table/swtable.cxx b/sw/source/core/table/swtable.cxx index 8f4c95d44c0a..8f41fbe873a6 100644 --- a/sw/source/core/table/swtable.cxx +++ b/sw/source/core/table/swtable.cxx @@ -1769,10 +1769,9 @@ SwTableBox::SwTableBox( SwTableBoxFmt* pFmt, const SwNodeIndex &rIdx, pUpper( pUp ), pImpl( 0 ) { - SwDoc* pDoc = pFmt->GetDoc(); CheckBoxFmt( pFmt )->Add( this ); - pSttNd = pDoc->GetNodes()[ rIdx ]->GetStartNode(); + pSttNd = rIdx.GetNode().GetStartNode(); // an der Table eintragen const SwTableNode* pTblNd = pSttNd->FindTableNode(); |