[Libreoffice-commits] core.git: Branch 'feature/gsoc14-draw-chained-text-boxes' - svx/source

matteocam matteo.campanelli at gmail.com
Mon Jun 29 04:43:53 PDT 2015


 svx/source/svdraw/textchainflow.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit b6b90d8d4e5b37c89fc66a68bbcd62cb62aa0830
Author: matteocam <matteo.campanelli at gmail.com>
Date:   Mon Jun 29 07:40:40 2015 -0400

    Setting update=false in chaining
    
    Change-Id: I1be2c97d74870bc2934e8cdd50a8d4cc985d02ec

diff --git a/svx/source/svdraw/textchainflow.cxx b/svx/source/svdraw/textchainflow.cxx
index e759387..ec5dc9a 100644
--- a/svx/source/svdraw/textchainflow.cxx
+++ b/svx/source/svdraw/textchainflow.cxx
@@ -72,6 +72,11 @@ void TextChainFlow::impCheckForFlowEvents(SdrOutliner *pFlowOutl, SdrOutliner *p
 
     bool bIsPageOverflow = pFlowOutl->IsPageOverflow();
 
+    if (pParamOutl != NULL)
+    {
+        pFlowOutl->SetUpdateMode(false); // XXX: Plausibly should be the prev. state
+    }
+
     // NOTE: overflow and underflow cannot be both true
     bOverflow = bIsPageOverflow && mpNextLink;
     bUnderflow = !bIsPageOverflow &&  mpNextLink && mpNextLink->HasText();


More information about the Libreoffice-commits mailing list