Kaydet (Commit) 9da5c3b8 authored tarafından Caolán McNamara's avatar Caolán McNamara

callcatcher: remove some unused code

üst 7404c81e
......@@ -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.
......
......@@ -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.
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment