diff options
author | Santiago Martinez <smvarela@gmail.com> | 2012-04-16 21:39:46 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-16 21:44:20 +0100 |
commit | 5e26d135dac662d2cc2c448a851ef4b9f6c6133f (patch) | |
tree | d4d0973bddaa15956fac06c0d111c59ad4b3631c /sd/source/ui/slidesorter/controller | |
parent | 727675e2948873dcfb97bff375f9a3ce662de23c (diff) |
Remove unused code in sd
Diffstat (limited to 'sd/source/ui/slidesorter/controller')
-rw-r--r-- | sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx index 5849b1c271d8..54aa95b35c39 100644 --- a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx +++ b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx @@ -139,9 +139,6 @@ public: const AcceptDropEvent& rEvent, const sal_Int8 nDragAction, SlideSorter& rSlideSorter); - EventDescriptor ( - const KeyEvent& rEvent, - SlideSorter& rSlideSorter); private: /** Compute a numerical code that describes a mouse event and that can @@ -977,32 +974,6 @@ SelectionFunction::EventDescriptor::EventDescriptor ( -SelectionFunction::EventDescriptor::EventDescriptor ( - const KeyEvent& rEvent, - SlideSorter& rSlideSorter) - : maMousePosition(), - maMouseModelPosition(), - mpHitDescriptor(), - mpHitPage(), - mnEventCode(KEY_EVENT), - mbIsOverButton(rSlideSorter.GetView().GetButtonBar().IsMouseOverButton()), - meDragMode(InsertionIndicatorHandler::MoveMode), - mbMakeSelectionVisible(true), - mbIsLeaving(false) -{ - model::SharedPageDescriptor pHitDescriptor ( - rSlideSorter.GetController().GetFocusManager().GetFocusedPageDescriptor()); - if (pHitDescriptor.get() != NULL) - { - mpHitPage = pHitDescriptor->GetPage(); - mpHitDescriptor = pHitDescriptor; - } - - mnEventCode |= EncodeKeyEvent(rEvent) | EncodeState(); -} - - - sal_uInt32 SelectionFunction::EventDescriptor::EncodeMouseEvent ( const MouseEvent& rEvent) const |