diff options
-rw-r--r-- | sw/source/core/crsr/trvltbl.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/core/crsr/trvltbl.cxx b/sw/source/core/crsr/trvltbl.cxx index 0c8dc4fbd48f..680b2c01009a 100644 --- a/sw/source/core/crsr/trvltbl.cxx +++ b/sw/source/core/crsr/trvltbl.cxx @@ -755,6 +755,10 @@ String SwCrsrShell::GetBoxNms() const } while ( pFrm && !pFrm->IsCellFrm() ); OSL_ENSURE( pFrm, "kein Frame zur Box" ); + + if( !pFrm ) + return sNm; + sNm = ((SwCellFrm*)pFrm)->GetTabBox()->GetName(); sNm += ':'; pPos = pTblCrsr->End(); |