summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-10-09 00:37:43 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-10-10 08:51:15 +0100
commit9da5c3b8e3b53c8b423febafbdc513c55525153e (patch)
tree2f192f1bc1b26fbf5a8c144b4b4f92bc1c23aeb5 /sd
parent7404c81ee11d99e8ce8dbc3dc777ada5ae38046f (diff)
callcatcher: remove some unused code
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/slidesorter/controller/SlsFocusManager.cxx28
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx5
2 files changed, 0 insertions, 33 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.