diff --git a/sd/source/ui/view/ToolBarManager.cxx b/sd/source/ui/view/ToolBarManager.cxx index d1152ec6ce23..0dcb3a1a919a 100644 --- a/sd/source/ui/view/ToolBarManager.cxx +++ b/sd/source/ui/view/ToolBarManager.cxx @@ -959,6 +959,7 @@ void ToolBarRules::MainViewShellChanged (ViewShell::ShellType nShellType) case ::sd::ViewShell::ST_IMPRESS: case ::sd::ViewShell::ST_NOTES: case ::sd::ViewShell::ST_HANDOUT: + case ::sd::ViewShell::ST_DRAW: mpToolBarManager->AddToolBar( ToolBarManager::ToolBarGroup::Permanent, ToolBarManager::msToolBar); @@ -975,18 +976,6 @@ void ToolBarRules::MainViewShellChanged (ViewShell::ShellType nShellType) ToolbarId::Draw_Text_Toolbox_Sd); break; - case ::sd::ViewShell::ST_DRAW: - mpToolBarManager->AddToolBar( - ToolBarManager::ToolBarGroup::Permanent, - ToolBarManager::msToolBar); - mpToolBarManager->AddToolBar( - ToolBarManager::ToolBarGroup::Permanent, - ToolBarManager::msOptionsToolBar); - mpToolBarManager->AddToolBar( - ToolBarManager::ToolBarGroup::Permanent, - ToolBarManager::msViewerToolBar); - break; - case ViewShell::ST_OUTLINE: mpToolBarManager->AddToolBar( ToolBarManager::ToolBarGroup::Permanent,