diff options
author | Jan Holesovsky <kendy@collabora.com> | 2016-03-16 15:35:49 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2016-03-16 15:41:43 +0100 |
commit | 2a5bb8f7d76079a52d8b5fb83911f690a13b7ae5 (patch) | |
tree | b7823421ab739ce248bd72811e580c4ee13b8601 /sc/source | |
parent | 7055a93318e18853184235753abe247f93a3b085 (diff) |
sc lok bccu#1519: Broadcast cell size changes, they affect the document size.
Change-Id: Icd42c0252c28a24ac9c6c535a146a2f3b3beda17
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/view/viewfun2.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx index 54c019aae01c..09c80ee91318 100644 --- a/sc/source/ui/view/viewfun2.cxx +++ b/sc/source/ui/view/viewfun2.cxx @@ -155,6 +155,9 @@ bool ScViewFunc::AdjustBlockHeight( bool bPaint, ScMarkData* pMarkData ) if ( bPaint && bAnyChanged ) pDocSh->UpdateOle(&GetViewData()); + if (bAnyChanged && comphelper::LibreOfficeKit::isActive() && rDoc.GetDrawLayer()) + rDoc.GetDrawLayer()->libreOfficeKitCallback(LOK_CALLBACK_DOCUMENT_SIZE_CHANGED, ""); + return bAnyChanged; } |