tdf#131146 Linked Calc: changes are lost in last edited cell
Change-Id: I768ccc1d98a0785806986a6ffc70de057991e08a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90009 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
This commit is contained in:
parent
beabc0dedd
commit
a91e19e308
1 changed files with 4 additions and 2 deletions
|
@ -91,6 +91,10 @@ void OCommonEmbeddedObject::Deactivate()
|
|||
if ( !xClientSite.is() )
|
||||
throw embed::WrongStateException(); //TODO: client site is not set!
|
||||
|
||||
// tdf#131146 close frame before saving of the document
|
||||
// (during CloseFrame() call some changes could be detected not registered in util::XModifiable)
|
||||
m_xDocHolder->CloseFrame();
|
||||
|
||||
// store document if it is modified
|
||||
if ( xModif.is() && xModif->isModified() )
|
||||
{
|
||||
|
@ -110,8 +114,6 @@ void OCommonEmbeddedObject::Deactivate()
|
|||
}
|
||||
}
|
||||
|
||||
m_xDocHolder->CloseFrame();
|
||||
|
||||
xClientSite->visibilityChanged( false );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue