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

New commits:
commit 9b504d41523ceabbff1235f7ffc1ef409cca504a
Author: Jan Holesovsky <ke...@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;
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to