diff options
author | Alex Ivan <alexnivan@yahoo.com> | 2013-08-22 13:03:04 +0300 |
---|---|---|
committer | Alex Ivan <alexnivan@yahoo.com> | 2013-08-22 13:03:04 +0300 |
commit | f84b527b5919b6e0d6b0ab434448582dcc632ec0 (patch) | |
tree | 8c303501a98096a1d37080f9554f94ff1f358fbd | |
parent | 1ccec348fb3ed2dc346b96aeaa9855f80929950b (diff) |
Reapply table style after inserting columns
Change-Id: If0550caf8d020623654eda05efc20d382f050275
-rw-r--r-- | sw/source/core/doc/tblrwcl.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/core/doc/tblrwcl.cxx b/sw/source/core/doc/tblrwcl.cxx index c0dd49d69e13..8e0ee86c64b6 100644 --- a/sw/source/core/doc/tblrwcl.cxx +++ b/sw/source/core/doc/tblrwcl.cxx @@ -562,6 +562,8 @@ bool SwTable::InsertCol( SwDoc* pDoc, const SwSelBoxes& rBoxes, sal_uInt16 nCnt, pPCD->AddRowCols( *this, rBoxes, nCnt, bBehind ); pDoc->UpdateCharts( GetFrmFmt()->GetName() ); + SwTableFmt::AssignFormatParents( (SwTableFmt*)GetFrmFmt()->GetRegisteredIn(), *this ); + return bRes; } |