From 3a2a610451aebaf2cf6168029d4a9a47072ff9ca Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 5 Mar 2021 11:00:56 +0000 Subject: parent panel doesn't need an explicit KeyInput handler MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit the treeview child one is sufficient Change-Id: I3a5e7a262055e5f03cf5323eeaa8c169eaab2693 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112005 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- sd/source/ui/animations/CustomAnimationPane.cxx | 6 ------ sd/source/ui/inc/CustomAnimationPane.hxx | 3 --- 2 files changed, 9 deletions(-) (limited to 'sd') diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx index 6b6aff20dd1f..b816ec57d3c2 100644 --- a/sd/source/ui/animations/CustomAnimationPane.cxx +++ b/sd/source/ui/animations/CustomAnimationPane.cxx @@ -268,12 +268,6 @@ void CustomAnimationPane::addUndo() } } -void CustomAnimationPane::KeyInput( const KeyEvent& rKEvt ) -{ - if (mxCustomAnimationList) - mxCustomAnimationList->KeyInputHdl(rKEvt); -} - void CustomAnimationPane::addListener() { Link aLink( LINK(this,CustomAnimationPane,EventMultiplexerListener) ); diff --git a/sd/source/ui/inc/CustomAnimationPane.hxx b/sd/source/ui/inc/CustomAnimationPane.hxx index d07e76a7c3f2..1d795b20ce68 100644 --- a/sd/source/ui/inc/CustomAnimationPane.hxx +++ b/sd/source/ui/inc/CustomAnimationPane.hxx @@ -70,9 +70,6 @@ public: void preview( const css::uno::Reference< css::animations::XAnimationNode >& xAnimationNode ); void remove( CustomAnimationEffectPtr const & pEffect ); - // Control - virtual void KeyInput( const KeyEvent& rKEvt ) override; - // ICustomAnimationListController virtual void onSelect() override; virtual void onDoubleClick() override; -- cgit