summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/standardcontrol.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-29 12:40:47 +0200
committerNoel Grandin <noel@peralex.com>2015-09-29 15:08:43 +0200
commit34180700b2686c97cdce0b52ca9578a41a153035 (patch)
tree073f3753e4483f30efa3c7c769f23971e6a046d5 /extensions/source/propctrlr/standardcontrol.hxx
parente710170d906fcb248a5e4ff5a3a90cbf0e20003d (diff)
loplugin:removeunusedmethods, remove unused stuff
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
Diffstat (limited to 'extensions/source/propctrlr/standardcontrol.hxx')
-rw-r--r--extensions/source/propctrlr/standardcontrol.hxx27
1 files changed, 0 insertions, 27 deletions
diff --git a/extensions/source/propctrlr/standardcontrol.hxx b/extensions/source/propctrlr/standardcontrol.hxx
index 7345543ffd5e..a5940fd71e0a 100644
--- a/extensions/source/propctrlr/standardcontrol.hxx
+++ b/extensions/source/propctrlr/standardcontrol.hxx
@@ -64,36 +64,9 @@ namespace pcr
}
void SetModifyHdl( const Link<>& _rLink ) { ListBoxType::SetSelectHdl( _rLink ); }
-
- protected:
- bool PreNotify( NotifyEvent& _rNEvt );
};
- template< class LISTBOX_WINDOW >
- bool ListLikeControlWithModifyHandler< LISTBOX_WINDOW >::PreNotify( NotifyEvent& _rNEvt )
- {
- if ( _rNEvt.GetType() == MouseNotifyEvent::KEYINPUT )
- {
- const ::KeyEvent* pKeyEvent = _rNEvt.GetKeyEvent();
- if ( ( pKeyEvent->GetKeyCode().GetModifier() == 0 )
- && ( ( pKeyEvent->GetKeyCode().GetCode() == KEY_PAGEUP )
- || ( pKeyEvent->GetKeyCode().GetCode() == KEY_PAGEDOWN )
- )
- )
- {
- if ( !ListBoxType::IsInDropDown() )
- {
- // don't give the base class a chance to consume the event, in the property browser, it is
- // intended to scroll the complete property page
- return ListBoxType::GetParent()->PreNotify( _rNEvt );
- }
- }
- }
- return ListBoxType::PreNotify( _rNEvt );
- }
-
-
//= OTimeControl
typedef CommonBehaviourControl< ::com::sun::star::inspection::XPropertyControl, ControlWindow< TimeField > > OTimeControl_Base;