diff options
author | Armin Le Grand <alg@apache.org> | 2014-03-26 15:38:38 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-28 13:54:54 +0000 |
commit | 1d3e4bc3b65a696d67ef9c157e67a03e8f37e08d (patch) | |
tree | fcc5a766957d1a6086247767e605091da18c6f49 /svx | |
parent | 26ea01a41978ba503119f8a758eb842a41e74a6c (diff) |
Resolves: #i120201# added forcing TableLayouter to take action...
in table undo/redo (CellUndo)
(cherry picked from commit 88b1d35131b0ea44ac6ba6f7edeab82d1c29a39f)
Change-Id: I407323bf6c96ad577d8fc24c82118afc6173f97d
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/table/tableundo.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/svx/source/table/tableundo.cxx b/svx/source/table/tableundo.cxx index d4d5d48e2b4e..c406a480e0f4 100644 --- a/svx/source/table/tableundo.cxx +++ b/svx/source/table/tableundo.cxx @@ -129,8 +129,13 @@ void CellUndo::setDataToCell( const Data& rData ) mxCell->mnRowSpan = rData.mnRowSpan; mxCell->mnColSpan = rData.mnColSpan; - if( mxObjRef.is() ) + if(mxObjRef.is()) + { + // #i120201# ActionChanged is not enough, we need to trigger TableLayouter::UpdateBorderLayout() + // and this is done best using ReformatText() for table objects mxObjRef->ActionChanged(); + mxObjRef->NbcReformatText(); + } } void CellUndo::getDataFromCell( Data& rData ) |