diff --git a/sd/source/ui/inc/EventMultiplexer.hxx b/sd/source/ui/inc/EventMultiplexer.hxx index 45e8e8f84133..0878c16ccc50 100644 --- a/sd/source/ui/inc/EventMultiplexer.hxx +++ b/sd/source/ui/inc/EventMultiplexer.hxx @@ -71,10 +71,6 @@ enum class EventMultiplexerEventId */ ViewAdded, - /** The PaneManager is being destroyed. - */ - PaneManagerDying, - /** Edit mode was (or is being) switched to normal mode. Find EventId::EditModeMaster below. */ diff --git a/sd/source/ui/view/ToolBarManager.cxx b/sd/source/ui/view/ToolBarManager.cxx index a03b83dd0f24..030bf6b8d515 100644 --- a/sd/source/ui/view/ToolBarManager.cxx +++ b/sd/source/ui/view/ToolBarManager.cxx @@ -870,10 +870,6 @@ IMPL_LINK(ToolBarManager::Implementation,EventMultiplexerCallback, SetValid(false); break; - case EventMultiplexerEventId::PaneManagerDying: - SetValid(false); - break; - default: break; } }