summaryrefslogtreecommitdiff
path: root/svx/source/table/tableundo.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/table/tableundo.cxx')
-rw-r--r--svx/source/table/tableundo.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/svx/source/table/tableundo.cxx b/svx/source/table/tableundo.cxx
index 42aebdf24666..cca0a7bf8e4e 100644
--- a/svx/source/table/tableundo.cxx
+++ b/svx/source/table/tableundo.cxx
@@ -145,8 +145,13 @@ void CellUndo::setDataToCell( const Data& rData )
mxCell->mnRowSpan = rData.mnRowSpan;
mxCell->mnColSpan = rData.mnColSpan;
- if( mxObjRef.is() )
+ if(mxObjRef.is())
+ {
+ // #120201# ActionChanged is not enough, we need to trigger TableLayouter::UpdateBorderLayout()
+ // and this is done best using ReformatText() for table objects
mxObjRef->ActionChanged();
+ mxObjRef->ReformatText();
+ }
}
void CellUndo::getDataFromCell( Data& rData )