diff options
author | Marcos Paulo de Souza <marcos.souza.org@gmail.com> | 2013-09-02 10:55:15 -0300 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-09-03 09:16:14 +0000 |
commit | b62826ad3887305a76ee1ceabe2060f9d6e8723f (patch) | |
tree | 554edd25a04e870c00799bb8d103ddfa3baf8de2 /sfx2 | |
parent | ea7ce8cf08521a7609d2ffc0969b1541fbbb9d0c (diff) |
Remove more unused methods
Change-Id: I79548f9dd1b83ef940e7a1302cf7b728610fed4a
Reviewed-on: https://gerrit.libreoffice.org/5757
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
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; |