diff options
Diffstat (limited to 'sd/source/ui')
-rw-r--r-- | sd/source/ui/view/Outliner.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/view/outlview.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx index de86a8695605..0ebe41c8e630 100644 --- a/sd/source/ui/view/Outliner.cxx +++ b/sd/source/ui/view/Outliner.cxx @@ -1639,10 +1639,10 @@ void SdOutliner::EnterEditMode (bool bGrabFocus) mpSearchSpellTextObj->setActiveText(mnText); // Turn on the edit mode for the text object. + SetUpdateLayout(true); mpView->SdrBeginTextEdit(mpSearchSpellTextObj, pPV, mpWindow, true, this, pOutlinerView, true, true, bGrabFocus); - SetUpdateLayout(true); mbFoundObject = true; } 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); } /** |