diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-10-09 00:37:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-10-10 08:51:15 +0100 |
commit | 9da5c3b8e3b53c8b423febafbdc513c55525153e (patch) | |
tree | 2f192f1bc1b26fbf5a8c144b4b4f92bc1c23aeb5 | |
parent | 7404c81ee11d99e8ce8dbc3dc777ada5ae38046f (diff) |
callcatcher: remove some unused code
-rw-r--r-- | sd/source/ui/slidesorter/controller/SlsFocusManager.cxx | 28 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx | 5 | ||||
-rw-r--r-- | unusedcode.easy | 1 |
3 files changed, 0 insertions, 34 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsFocusManager.cxx b/sd/source/ui/slidesorter/controller/SlsFocusManager.cxx index 23f2935ba3c3..325669092558 100644 --- a/sd/source/ui/slidesorter/controller/SlsFocusManager.cxx +++ b/sd/source/ui/slidesorter/controller/SlsFocusManager.cxx @@ -318,34 +318,6 @@ void FocusManager::RemoveFocusChangeListener (const Link& rListener) ::std::find (maFocusChangeListeners.begin(), maFocusChangeListeners.end(), rListener)); } - - - -void FocusManager::SetFocusToToolBox (void) -{ - HideFocus(); - - if (mrSlideSorter.GetViewShell() != NULL) - { - ::Window* pParentWindow = mrSlideSorter.GetViewShell()->GetParentWindow(); - DockingWindow* pDockingWindow = NULL; - while (pParentWindow!=NULL && pDockingWindow==NULL) - { - pDockingWindow = dynamic_cast<DockingWindow*>(pParentWindow); - pParentWindow = pParentWindow->GetParent(); - } - if (pDockingWindow) - { - PaneDockingWindow* pPaneDockingWindow = dynamic_cast<PaneDockingWindow*>(pDockingWindow); - if (pPaneDockingWindow != NULL) - pPaneDockingWindow->GetToolBox().GrabFocus(); - } - } -} - - - - void FocusManager::NotifyFocusChangeListeners (void) const { // Create a copy of the listener list to be safe when that is modified. diff --git a/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx b/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx index d077e64d5fbb..48f030674b76 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx @@ -162,11 +162,6 @@ public: */ void RemoveFocusChangeListener (const Link& rListener); - /** Move focus to sibling outside the actual slide sorter. This is - typically the tool bar with the close button. - */ - void SetFocusToToolBox (void); - /** Create an instance of this class to temporarily hide the focus indicator. It is restored to its former visibility state when the FocusHider is destroyed. diff --git a/unusedcode.easy b/unusedcode.easy index 4be3363180c7..60435c07808a 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -2650,7 +2650,6 @@ sd::slidesorter::controller::Animator::AddInfiniteAnimation(boost::function1<voi sd::slidesorter::controller::Clipboard::SelectPages() sd::slidesorter::controller::DragAndDropContext::GetPagesFromBookmarks(std::vector<SdPage const*, std::allocator<SdPage const*> >&, int&, sd::DrawDocShell*, List const&) const sd::slidesorter::controller::DragAndDropContext::GetPagesFromSelection(std::vector<SdPage const*, std::allocator<SdPage const*> >&, int&, sd::slidesorter::model::PageEnumeration&) const -sd::slidesorter::controller::FocusManager::SetFocusToToolBox() sd::slidesorter::controller::PageSelector::DeselectPage(SdPage const*, bool) sd::slidesorter::controller::Properties::SetOnlyPreviewTriggersMouseOver(bool) sd::slidesorter::controller::ScrollBarManager::GetLeft() const |