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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Jan 25 07:18:56 UTC 2019


 sw/source/uibase/uno/unotxdoc.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 1ecca673b40fedc53db125e332b087d1c120a254
Author:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Thu Jan 24 15:52:47 2019 +0100
Commit:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Fri Jan 25 08:18:27 2019 +0100

    tdf#122607 Don't unnecessarily redo the layout
    
    Brings weird issues like out of place textboxes as described in the bug.
    
    Change-Id: I19341efc48188f0b52069401dc39ba05f4fcc7f6
    Reviewed-on: https://gerrit.libreoffice.org/66874
    Tested-by: Jenkins
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx
index 9f2e45c766f8..c2f7f93b1935 100644
--- a/sw/source/uibase/uno/unotxdoc.cxx
+++ b/sw/source/uibase/uno/unotxdoc.cxx
@@ -2667,10 +2667,6 @@ sal_Int32 SAL_CALL SwXTextDocument::getRendererCount(
             if( bStateChanged )
                 pRenderDocShell->EnableSetModified();
 
-            // there is some redundancy between those two function calls, but right now
-            // there is no time to sort this out.
-            //TODO: check what exactly needs to be done and make just one function for that
-            pViewShell->CalcLayout();
             pViewShell->CalcPagesForPrint( pViewShell->GetPageCount() );
 
             // #122919# Force field update before PDF export, but after layout init (tdf#121962)


More information about the Libreoffice-commits mailing list