summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Fischer <af@apache.org>2013-05-21 09:46:08 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-05-22 11:34:42 +0100
commita19dc6db736ce90e6718b214ad55798e8a549647 (patch)
tree98434dfb4809ad70ee4fe00e2fff8a975dfc1c1f
parentab83a1ba84502ccda07777824db07084c87a21ff (diff)
Resolves: #i122336# Show docked tab bar after closing undocked sidebar
(cherry picked from commit d8b17867f3c58d5623cca129d6459bae0eb11729) Change-Id: I5579c8f12cad696da94674c4f1a52bb2bed68cb5 (cherry picked from commit 88707ef9e8477784d0f5f9d679c5de4020b4ea40)
-rw-r--r--sfx2/source/sidebar/SidebarDockingWindow.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/sidebar/SidebarDockingWindow.cxx b/sfx2/source/sidebar/SidebarDockingWindow.cxx
index 3b6a61daf58b..fe18b32dae96 100644
--- a/sfx2/source/sidebar/SidebarDockingWindow.cxx
+++ b/sfx2/source/sidebar/SidebarDockingWindow.cxx
@@ -92,8 +92,8 @@ sal_Bool SidebarDockingWindow::Close (void)
{
// Do not close the floating window.
// Dock it and close just the deck instead.
- mpSidebarController->RequestCloseDeck();
SetFloatingMode(sal_False);
+ mpSidebarController->RequestCloseDeck();
mpSidebarController->NotifyResize();
return sal_False;
}