diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-01-24 15:52:47 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-01-25 08:18:27 +0100 |
commit | 1ecca673b40fedc53db125e332b087d1c120a254 (patch) | |
tree | e3573fcd7df2b63c9060858e66f7f5db40ff4f80 | |
parent | f205e4530ef4245ee29b934d050c4ac5c2ce7257 (diff) |
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@cib.de>
-rw-r--r-- | sw/source/uibase/uno/unotxdoc.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
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) |