diff options
Diffstat (limited to 'sfx2/source/sidebar')
-rw-r--r-- | sfx2/source/sidebar/SidebarController.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx index d90bd56b77de..d16195447222 100644 --- a/sfx2/source/sidebar/SidebarController.cxx +++ b/sfx2/source/sidebar/SidebarController.cxx @@ -1106,14 +1106,14 @@ IMPL_LINK(SidebarController, OnMenuItemSelected, Menu*, pMenu, bool) return true; } -void SidebarController::RequestCloseDeck(bool bFocusMenuTab) +void SidebarController::RequestCloseDeck() { mbIsDeckRequestedOpen = false; UpdateDeckOpenState(); if (mpCurrentDeck.get()) { - sal_Int32 nIndex(bFocusMenuTab ? 0 : mpTabBar->GetDeckIndexForId(mpCurrentDeck->GetId())); + sal_Int32 nIndex(mpTabBar->GetDeckIndexForId(mpCurrentDeck->GetId())); maFocusManager.GrabFocusButton(nIndex); } else |