diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-09-23 21:01:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-09-24 18:32:19 +0200 |
commit | df2c41859287282501c8ebd7b3c67465455a457c (patch) | |
tree | e895f3505d5c60d221a60252c42d5f9c13689942 /sfx2 | |
parent | d9eed9b489d8ad208df307588595f3a8d3b7539b (diff) |
MoveFocusInsideDeckTitle is dead
after
commit 9ca60dc90958001c078ed6331bd432c36961a425
Author: Rafael Lima <rafael.palma.lima@gmail.com>
Date: Wed Jul 26 02:00:40 2023 +0200
tdf#156156 Add Help button to sidebar decks
Change-Id: I71893e5f0b35ffec3eb718b0dfb556a3405b5c4d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157197
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/sidebar/FocusManager.cxx | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/sfx2/source/sidebar/FocusManager.cxx b/sfx2/source/sidebar/FocusManager.cxx index 74a3a1ef0ff3..416b6d39ce6b 100644 --- a/sfx2/source/sidebar/FocusManager.cxx +++ b/sfx2/source/sidebar/FocusManager.cxx @@ -284,34 +284,6 @@ void FocusManager::MoveFocusInsidePanel ( } } -bool FocusManager::MoveFocusInsideDeckTitle ( - const FocusLocation& rFocusLocation, - const sal_Int32 nDirection) -{ - bool bConsumed = false; - // Note that when the title bar of the first (and only) panel is - // not visible then the deck title takes its place and the focus - // is moved between a) deck closer and b) content of panel 0. - switch (rFocusLocation.meComponent) - { - case PC_DeckToolBox: - if (nDirection>0 && ! IsPanelTitleVisible(0)) - { - FocusPanelContent(0); - bConsumed = true; - } - else if (nDirection < 0) - { - FocusButton(0); - bConsumed = true; - } - break; - - default: break; - } - return bConsumed; -} - bool FocusManager::HandleKeyEvent( const vcl::KeyCode& rKeyCode, const FocusLocation& aLocation) |