You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by af...@apache.org on 2013/05/08 13:57:24 UTC

svn commit: r1480241 - in /openoffice/trunk/main/sfx2/source/sidebar: TabBar.cxx TabBar.hxx

Author: af
Date: Wed May  8 11:57:24 2013
New Revision: 1480241

URL: http://svn.apache.org/r1480241
Log:
122251: Prevent key events from being forwarded from sidebar tab bar to Calc.

Modified:
    openoffice/trunk/main/sfx2/source/sidebar/TabBar.cxx
    openoffice/trunk/main/sfx2/source/sidebar/TabBar.hxx

Modified: openoffice/trunk/main/sfx2/source/sidebar/TabBar.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sfx2/source/sidebar/TabBar.cxx?rev=1480241&r1=1480240&r2=1480241&view=diff
==============================================================================
--- openoffice/trunk/main/sfx2/source/sidebar/TabBar.cxx (original)
+++ openoffice/trunk/main/sfx2/source/sidebar/TabBar.cxx Wed May  8 11:57:24 2013
@@ -270,6 +270,14 @@ void TabBar::DataChanged (const DataChan
 
 
 
+long TabBar::Notify (NotifyEvent& rEvent)
+{
+    return sal_False;
+}
+
+
+
+
 RadioButton* TabBar::CreateTabItem (const DeckDescriptor& rDeckDescriptor)
 {
     RadioButton* pItem = ControlFactory::CreateTabItem(this);

Modified: openoffice/trunk/main/sfx2/source/sidebar/TabBar.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sfx2/source/sidebar/TabBar.hxx?rev=1480241&r1=1480240&r2=1480241&view=diff
==============================================================================
--- openoffice/trunk/main/sfx2/source/sidebar/TabBar.hxx (original)
+++ openoffice/trunk/main/sfx2/source/sidebar/TabBar.hxx Wed May  8 11:57:24 2013
@@ -70,6 +70,7 @@ public:
 
     virtual void Paint (const Rectangle& rUpdateArea);
     virtual void DataChanged (const DataChangedEvent& rDataChangedEvent);
+    virtual long Notify (NotifyEvent& rEvent);
 
     static sal_Int32 GetDefaultWidth (void);