summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Ivan <alexnivan@yahoo.com>2013-08-22 15:47:23 +0300
committerAlex Ivan <alexnivan@yahoo.com>2013-08-22 15:47:23 +0300
commit23241bd4c6f9e7a7094ba962223bd57edbae813c (patch)
tree523ef1a198b3bfe6d1f39bdef234f8f8a83f3922
parent80090c35ad14c860abd195f6ced5fc37270e8943 (diff)
Reapply table style after inserting rows
Change-Id: I56cc24f80a3812f9a04fcb639cc38eaa628fc95e
-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 8e0ee86c64b6..70560a72cbf1 100644
--- a/sw/source/core/doc/tblrwcl.cxx
+++ b/sw/source/core/doc/tblrwcl.cxx
@@ -664,6 +664,8 @@ bool SwTable::_InsertRow( SwDoc* pDoc, const SwSelBoxes& rBoxes,
pPCD->AddRowCols( *this, rBoxes, nCnt, bBehind );
pDoc->UpdateCharts( GetFrmFmt()->GetName() );
+ SwTableFmt::AssignFormatParents( (SwTableFmt*)GetFrmFmt()->GetRegisteredIn(), *this );
+
return true;
}