diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-17 00:47:00 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-17 09:27:47 +0100 |
commit | 18825a4d596f69793ee11e643f6ea34317a880c9 (patch) | |
tree | 3b8fe0ca46618e60b5296ba90048b02dffad0e69 /sd | |
parent | fa4d647b480e9d855515cc3577b8a60ab615802a (diff) |
callcatcher: update unused code list
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx | 25 |
1 files changed, 0 insertions, 25 deletions
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); |