diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/sidebar/FocusManager.cxx | 35 | ||||
-rw-r--r-- | sfx2/source/sidebar/FocusManager.hxx | 3 |
2 files changed, 0 insertions, 38 deletions
diff --git a/sfx2/source/sidebar/FocusManager.cxx b/sfx2/source/sidebar/FocusManager.cxx index 46ea99c5e873..f284a2615c00 100644 --- a/sfx2/source/sidebar/FocusManager.cxx +++ b/sfx2/source/sidebar/FocusManager.cxx @@ -221,41 +221,6 @@ FocusManager::FocusLocation FocusManager::GetFocusLocation (const Window& rWindo return FocusLocation(PC_None, -1); } - - - -bool FocusManager::IsAnyPanelFocused (void) const -{ - for (::std::vector<Panel*>::const_iterator iPanel(maPanels.begin()),iEnd(maPanels.end()); - iPanel!=iEnd; - ++iPanel) - { - if ((*iPanel)->HasFocus()) - return true; - else if ((*iPanel)->HasChildPathFocus()) - return true; - } - return false; -} - - - - -bool FocusManager::IsAnyButtonFocused (void) const -{ - for (::std::vector<Button*>::const_iterator iButton(maButtons.begin()),iEnd(maButtons.end()); - iButton!=iEnd; - ++iButton) - { - if ((*iButton)->HasFocus()) - return true; - } - return false; -} - - - - void FocusManager::FocusDeckTitle (void) { if (mpDeckTitleBar != NULL) diff --git a/sfx2/source/sidebar/FocusManager.hxx b/sfx2/source/sidebar/FocusManager.hxx index 8111328ef198..c1249e19925c 100644 --- a/sfx2/source/sidebar/FocusManager.hxx +++ b/sfx2/source/sidebar/FocusManager.hxx @@ -113,9 +113,6 @@ private: */ void RemoveWindow (Window& rWindow); - bool IsAnyPanelFocused (void) const; - bool IsAnyButtonFocused (void) const; - void FocusDeckTitle (void); bool IsDeckTitleVisible (void) const; bool IsPanelTitleVisible (const sal_Int32 nPanelIndex) const; |