summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/view/Outliner.cxx19
1 files changed, 0 insertions, 19 deletions
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx
index b6ad9f4a39f4..ba9651249b0e 100644
--- a/sd/source/ui/view/Outliner.cxx
+++ b/sd/source/ui/view/Outliner.cxx
@@ -901,25 +901,6 @@ void Outliner::RestoreStartPosition()
SetViewMode (meStartViewMode);
if (pDrawViewShell.get() != NULL)
SetPage (meStartEditMode, mnStartPageIndex);
-
- if (mpStartEditedObject != NULL)
- {
- // Turn on the text toolbar as it is done in FuText so that
- // undo manager setting/restoring in
- // sd::View::{Beg,End}TextEdit() works on the same view shell.
- pViewShell->GetViewShellBase().GetToolBarManager()->SetToolBarShell(
- ToolBarManager::TBG_FUNCTION,
- RID_DRAW_TEXT_TOOLBOX);
-
- mpView->SdrBeginTextEdit(mpStartEditedObject);
- ::Outliner* pOutliner =
- static_cast<DrawView*>(mpView)->GetTextEditOutliner();
- if (pOutliner!=NULL && pOutliner->GetViewCount()>0)
- {
- OutlinerView* pOutlinerView = pOutliner->GetView(0);
- pOutlinerView->SetSelection(maStartSelection);
- }
- }
}
else if (pViewShell->ISA(OutlineViewShell))
{