[Libreoffice-commits] core.git: sd/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Mar 5 15:40:07 UTC 2021


 sd/source/ui/animations/CustomAnimationPane.cxx |    6 ------
 sd/source/ui/inc/CustomAnimationPane.hxx        |    3 ---
 2 files changed, 9 deletions(-)

New commits:
commit 3a2a610451aebaf2cf6168029d4a9a47072ff9ca
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Mar 5 11:00:56 2021 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Mar 5 16:39:21 2021 +0100

    parent panel doesn't need an explicit KeyInput handler
    
    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 <caolanm at redhat.com>

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<tools::EventMultiplexerEvent&,void> 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;


More information about the Libreoffice-commits mailing list