[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.0' - sc/source

Jan Holesovsky kendy at collabora.com
Wed Mar 16 14:41:01 UTC 2016


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

New commits:
commit 9b504d41523ceabbff1235f7ffc1ef409cca504a
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 86f3c89..463678a 100644
--- a/sc/source/ui/view/viewfun2.cxx
+++ b/sc/source/ui/view/viewfun2.cxx
@@ -165,6 +165,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