summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar/SidebarController.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/sidebar/SidebarController.cxx')
-rw-r--r--sfx2/source/sidebar/SidebarController.cxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx
index af0a54771aa0..7cc315e7acf7 100644
--- a/sfx2/source/sidebar/SidebarController.cxx
+++ b/sfx2/source/sidebar/SidebarController.cxx
@@ -518,20 +518,6 @@ void SidebarController::SwitchToDeck (
}
}
- if (mpCurrentDeck
- && ArePanelSetsEqual(mpCurrentDeck->GetPanels(), aPanelContextDescriptors))
- {
- // Requested set of panels is identical to the current set of
- // panels => Nothing to do.
- return;
- }
-
- // When the document is read-only, check if there are any panels that can still be displayed.
- if (mbIsDocumentReadOnly)
- {
- }
-
-
// Provide a configuration and Deck object.
if ( ! mpCurrentDeck)
{