From 18825a4d596f69793ee11e643f6ea34317a880c9 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 17 Apr 2012 00:47:00 +0100 Subject: callcatcher: update unused code list --- .../controller/SlsSelectionFunction.cxx | 25 ---------------------- 1 file changed, 25 deletions(-) (limited to 'sd') diff --git a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx index 54aa95b35c39..2a48a7c5f24c 100644 --- a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx +++ b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx @@ -146,11 +146,6 @@ private: */ sal_uInt32 EncodeMouseEvent (const MouseEvent& rEvent) const; - /** Compute a numerical code that describes a key event and that can - be used for fast look up of the appropriate reaction. - */ - sal_uInt32 EncodeKeyEvent (const KeyEvent& rEvent) const; - /** Compute a numerical code that describes the current state like whether the selection rectangle is visible or whether the page under the mouse or the one that has the focus is selected. @@ -1010,26 +1005,6 @@ sal_uInt32 SelectionFunction::EventDescriptor::EncodeMouseEvent ( return nEventCode; } - - - -sal_uInt32 SelectionFunction::EventDescriptor::EncodeKeyEvent (const KeyEvent& rEvent) const -{ - // The key code in the lower 16 bit. - sal_uInt32 nEventCode (rEvent.GetKeyCode().GetCode()); - - // Detect pressed modifier keys. - if (rEvent.GetKeyCode().IsShift()) - nEventCode |= SHIFT_MODIFIER; - if (rEvent.GetKeyCode().IsMod1()) - nEventCode |= CONTROL_MODIFIER; - - return nEventCode; -} - - - - sal_uInt32 SelectionFunction::EventDescriptor::EncodeState (void) const { sal_uInt32 nEventCode (0); -- cgit