summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Ivan <alexnivan@yahoo.com>2013-08-22 13:03:04 +0300
committerJan Holesovsky <kendy@collabora.com>2015-09-24 01:00:12 +0200
commite04f6af4c906c5d8358c7067957995b91ac9a1be (patch)
treebd8bbaa7da03d0db531121eabb983af0b7ba2420
parent00979a2279770235ab68a5d44292168f295be283 (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 d96864db5114..6d772cd2c509 100644
--- a/sw/source/core/doc/tblrwcl.cxx
+++ b/sw/source/core/doc/tblrwcl.cxx
@@ -547,6 +547,8 @@ bool SwTable::InsertCol( SwDoc* pDoc, const SwSelBoxes& rBoxes, sal_uInt16 nCnt,
pPCD->AddRowCols( *this, rBoxes, nCnt, bBehind );
pDoc->UpdateCharts( GetFrameFormat()->GetName() );
+ SwTableFmt::AssignFormatParents( (SwTableFmt*)GetFrmFmt()->GetRegisteredIn(), *this );
+
return bRes;
}