diff options
author | Cédric Bosdonnat <cedricbosdo@openoffice.org> | 2010-09-14 16:54:36 +0200 |
---|---|---|
committer | Cédric Bosdonnat <cedricbosdo@openoffice.org> | 2010-09-14 16:54:36 +0200 |
commit | 0a63782de97158cbb6c76f5bc77778399f1f79a3 (patch) | |
tree | 9e6e60bdbdecdf5c1ad4c43fef58e1e87a7dff34 | |
parent | c97e202d82f423eff31bfa7a01c6f608de2bdc93 (diff) |
sw-paste-table.diff: Refresh the cell formatting after pasting in it
n#564789
-rw-r--r-- | sw/source/filter/basflt/shellio.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sw/source/filter/basflt/shellio.cxx b/sw/source/filter/basflt/shellio.cxx index 963c5c847500..99f4fecc2c78 100644 --- a/sw/source/filter/basflt/shellio.cxx +++ b/sw/source/filter/basflt/shellio.cxx @@ -209,6 +209,16 @@ ULONG SwReader::Read( const Reader& rOptions ) else nEndCntnt = nLen - nEndCntnt; pPam->GetPoint()->nContent.Assign( pCNd, nEndCntnt ); + + const SwStartNode* pTblBoxStart = pCNd->FindTableBoxStartNode(); + if ( pTblBoxStart ) + { + SwTableBox* pBox = pTblBoxStart->GetTblBox(); + if ( pBox ) + { + pDoc->ChkBoxNumFmt( *pBox, TRUE ); + } + } } if( pCrsr ) |