summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Fischer <af@apache.org>2013-05-08 11:57:24 +0000
committerMichael Meeks <michael.meeks@suse.com>2013-05-20 11:33:30 +0100
commitdfad0013ef079813b0b795d32a4fcb830f3b1577 (patch)
tree0223e843ae91495cae817f60b8a81f00eaa8b902
parent11f8ed408d43f40de5f694d6b7d00cb7762ee84f (diff)
Resolves: #i122251# Prevent key events from being forwarded...
from sidebar tab bar to Calc (cherry picked from commit 2abab958f237c62abbd59b46b36354db60f23009) Change-Id: Ie47d086699986b64cbdc15df649adea705351307
-rw-r--r--sfx2/source/sidebar/TabBar.cxx8
-rw-r--r--sfx2/source/sidebar/TabBar.hxx1
2 files changed, 9 insertions, 0 deletions
diff --git a/sfx2/source/sidebar/TabBar.cxx b/sfx2/source/sidebar/TabBar.cxx
index bde7039436ae..5f8c4f5a7039 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 2f158cb6ea7a..a9479cb20c60 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);