summaryrefslogtreecommitdiffstats
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/sidebar/SidebarDockingWindow.cxx13
1 files changed, 2 insertions, 11 deletions
diff --git a/sfx2/source/sidebar/SidebarDockingWindow.cxx b/sfx2/source/sidebar/SidebarDockingWindow.cxx
index 1a39746f810d..24206b160e85 100644
--- a/sfx2/source/sidebar/SidebarDockingWindow.cxx
+++ b/sfx2/source/sidebar/SidebarDockingWindow.cxx
@@ -88,19 +88,10 @@ void SidebarDockingWindow::GetFocus()
+// fdo#87217
bool SidebarDockingWindow::Close (void)
{
- if (mpSidebarController.is())
- {
- // Do not close the floating window.
- // Dock it and close just the deck instead.
- SetFloatingMode(false);
- mpSidebarController->RequestCloseDeck();
- mpSidebarController->NotifyResize();
- return false;
- }
- else
- return SfxDockingWindow::Close();
+ return SfxDockingWindow::Close();
}