diff options
Diffstat (limited to 'sd/source/ui/view/outlview.cxx')
-rw-r--r-- | sd/source/ui/view/outlview.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/view/outlview.cxx b/sd/source/ui/view/outlview.cxx index 13501f4f6553..4a4bb45f1f1b 100644 --- a/sd/source/ui/view/outlview.cxx +++ b/sd/source/ui/view/outlview.cxx @@ -1003,7 +1003,7 @@ void OutlineView::FillOutliner() mrOutliner.GetUndoManager().Clear(); mrOutliner.EnableUndo(false); ResetLinks(); - mrOutliner.SetUpdateLayout(false); + const bool bPrevUpdateLayout = mrOutliner.SetUpdateLayout(false); Paragraph* pTitleToSelect = nullptr; sal_uInt16 nPageCount = mrDoc.GetSdPageCount(PageKind::Standard); @@ -1098,7 +1098,7 @@ void OutlineView::FillOutliner() mrOutliner.EnableUndo(true); - mrOutliner.SetUpdateLayout(true); + mrOutliner.SetUpdateLayout(bPrevUpdateLayout); } /** |