Resolves: #i122251# Prevent key events from being forwarded...

from sidebar tab bar to Calc

(cherry picked from commit 2abab958f237c62abbd59b46b36354db60f23009)

Change-Id: Ie47d086699986b64cbdc15df649adea705351307
diff --git a/sfx2/source/sidebar/TabBar.cxx b/sfx2/source/sidebar/TabBar.cxx
index bde7039..5f8c4f5 100644
--- a/sfx2/source/sidebar/TabBar.cxx
+++ b/sfx2/source/sidebar/TabBar.cxx
@@ -254,6 +254,14 @@ void TabBar::DataChanged (const DataChangedEvent& rDataChangedEvent)



long TabBar::Notify (NotifyEvent& rEvent)
{
    return sal_False;
}




RadioButton* TabBar::CreateTabItem (const DeckDescriptor& rDeckDescriptor)
{
    RadioButton* pItem = ControlFactory::CreateTabItem(this);
diff --git a/sfx2/source/sidebar/TabBar.hxx b/sfx2/source/sidebar/TabBar.hxx
index 2f158cb..a9479cb 100644
--- a/sfx2/source/sidebar/TabBar.hxx
+++ b/sfx2/source/sidebar/TabBar.hxx
@@ -66,6 +66,7 @@ public:

    virtual void Paint (const Rectangle& rUpdateArea);
    virtual void DataChanged (const DataChangedEvent& rDataChangedEvent);
    virtual long Notify (NotifyEvent& rEvent);

    static sal_Int32 GetDefaultWidth (void);