| commit | dfad0013ef079813b0b795d32a4fcb830f3b1577 | [log] |
|---|---|---|
| author | Andre Fischer <af@apache.org> | Wed May 08 11:57:24 2013 +0000 |
| committer | Michael Meeks <michael.meeks@suse.com> | Mon May 20 11:33:30 2013 +0100 |
| tree | 0223e843ae91495cae817f60b8a81f00eaa8b902 | |
| parent | 11f8ed408d43f40de5f694d6b7d00cb7762ee84f [diff] |
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);