Resolves: #i120201# added forcing TableLayouter to take action...
in table undo/redo (CellUndo) (cherry picked from commit 88b1d35131b0ea44ac6ba6f7edeab82d1c29a39f) Change-Id: I407323bf6c96ad577d8fc24c82118afc6173f97d
This commit is contained in:
parent
26ea01a419
commit
1d3e4bc3b6
@ -129,8 +129,13 @@ void CellUndo::setDataToCell( const Data& rData )
|
|||||||
mxCell->mnRowSpan = rData.mnRowSpan;
|
mxCell->mnRowSpan = rData.mnRowSpan;
|
||||||
mxCell->mnColSpan = rData.mnColSpan;
|
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->ActionChanged();
|
||||||
|
mxObjRef->NbcReformatText();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CellUndo::getDataFromCell( Data& rData )
|
void CellUndo::getDataFromCell( Data& rData )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user