summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Ivan <alexnivan@yahoo.com>2013-08-22 13:03:04 +0300
committerAlex Ivan <alexnivan@yahoo.com>2013-08-22 13:03:04 +0300
commitf84b527b5919b6e0d6b0ab434448582dcc632ec0 (patch)
tree8c303501a98096a1d37080f9554f94ff1f358fbd
parent1ccec348fb3ed2dc346b96aeaa9855f80929950b (diff)
Reapply table style after inserting columns
Change-Id: If0550caf8d020623654eda05efc20d382f050275
-rw-r--r--sw/source/core/doc/tblrwcl.cxx2
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;
}