[Libreoffice-commits] core.git: sc/source

Jan Holesovsky kendy at collabora.com
Wed Mar 16 14:43:52 UTC 2016


 sc/source/ui/view/viewfun2.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 2a5bb8f7d76079a52d8b5fb83911f690a13b7ae5
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Wed Mar 16 15:35:49 2016 +0100

    sc lok bccu#1519: Broadcast cell size changes, they affect the document size.
    
    Change-Id: Icd42c0252c28a24ac9c6c535a146a2f3b3beda17

diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx
index 54c019a..09c80ee 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;
 }
 


More information about the Libreoffice-commits mailing list