diff options
-rw-r--r-- | sw/source/core/fields/cellfml.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/fields/cellfml.cxx b/sw/source/core/fields/cellfml.cxx index 877e1af764e7..b3db34e49bef 100644 --- a/sw/source/core/fields/cellfml.cxx +++ b/sw/source/core/fields/cellfml.cxx @@ -696,7 +696,7 @@ const SwTable* SwTableFormula::FindTable( SwDoc& rDoc, const OUString& rNm ) con SwFrmFmt* pFmt = rTblFmts[ --nFmtCnt ]; // if we are called from Sw3Writer, a number is dependent on the format name SwTableBox* pFBox; - if ( rNm.startsWith(pFmt->GetName().getToken(0, 0x0a)) && + if ( rNm.equals(pFmt->GetName().getToken(0, 0x0a)) && 0 != ( pTmpTbl = SwTable::FindTable( pFmt ) ) && 0 != (pFBox = pTmpTbl->GetTabSortBoxes()[0] ) && pFBox->GetSttNd() && |